cloud-fan commented on code in PR #47304:
URL: https://github.com/apache/spark/pull/47304#discussion_r1674209078
##########
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 {
+
+ /** Returns whether it can pass the non-deterministic expressions
CheckAnalysis rule. */
+ def canPassNonDeterministicExpressionsCheck: Boolean
Review Comment:
`def allowNonDeterministicExpression`
--
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]