Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21403#discussion_r198826199
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/predicates.scala
 ---
    @@ -161,33 +161,38 @@ case class Not(child: Expression)
            true
       """)
     // scalastyle:on line.size.limit
    -case class In(value: Expression, list: Seq[Expression]) extends Predicate {
    +case class In(values: Seq[Expression], list: Seq[Expression]) extends 
Predicate {
    --- End diff --
    
    can we have an analyzer rule to deal with `In(CreateStruct(...), 
ListQuery(...))`, to unpack the `CreateStruct`, or pack the `ListQuery`? Then 
we don't need to change `In`.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to