cloud-fan commented on code in PR #43869:
URL: https://github.com/apache/spark/pull/43869#discussion_r1400526483


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/predicates.scala:
##########
@@ -356,6 +356,8 @@ case class Not(child: Expression)
 case class InSubquery(values: Seq[Expression], query: ListQuery)
   extends Predicate with Unevaluable {
 
+  assert(query.plan.output.nonEmpty, "The subquery must have output.")

Review Comment:
   I mean adding an assert in `RowLevelOperationRuntimeGroupFiltering`, where 
we create `InSubquery`...



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