maropu commented on pull request #29013:
URL: https://github.com/apache/spark/pull/29013#issuecomment-654542265


   I don't look into the impl. though (I just read the PR description), you 
meant this case? Or, do I miss something?
   ```
   scala> sql("select * from t1").show()
   +---+---+
   | c1| c2|
   +---+---+
   |  1|  3|
   |  3|  3|
   +---+---+
   
   
   scala> sql("select * from t1 where c1 in (1, 2, c2)").show()
   +---+---+
   | c1| c2|
   +---+---+
   |  1|  3|
   |  3|  3|
   +---+---+
   
   
   scala> sql("select * from (select * from t1 where c1 in (1, 2)) t2(c1, c2) 
where t2.c1 in (1, 2, t2.c2)").show()
   +---+---+
   | c1| c2|
   +---+---+
   |  1|  3|
   +---+---+
   ```


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to