cloud-fan commented on code in PR #47304:
URL: https://github.com/apache/spark/pull/47304#discussion_r1674202256
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala:
##########
@@ -2228,3 +2228,13 @@ object AsOfJoin {
}
}
}
+
+/**
+ * Trait that logical plans can extend to check whether it can allow
non-deterministic
+ * expressions and pass the CheckAnalysis rule.
+ */
+trait AllowsNonDeterministicExpression extends LogicalPlan {
Review Comment:
This reminds me of `SupportsSubquery`. Shall we follow the same naming
convention? `SupportsNonDeterministicExpression`. And we can place this one
next to `SupportsSubquery`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]