aokolnychyi commented on code in PR #41700:
URL: https://github.com/apache/spark/pull/41700#discussion_r1238786994


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/GroupBasedRowLevelOperationScanPlanning.scala:
##########
@@ -40,10 +42,14 @@ object GroupBasedRowLevelOperationScanPlanning extends 
Rule[LogicalPlan] with Pr
     // push down the filter from the command condition instead of the filter 
in the rewrite plan,
     // which is negated for data sources that only support replacing groups of 
data (e.g. files)
     case GroupBasedRowLevelOperation(rd: ReplaceData, cond, _, relation: 
DataSourceV2Relation) =>
+      assert(cond.deterministic, "row-level operation conditions must be 
deterministic")

Review Comment:
   This is being validated in PR #41694.



-- 
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]

Reply via email to