Github user rick-ibm commented on the pull request:

    https://github.com/apache/spark/pull/8983#issuecomment-146280859
  
    I don't find any guidance in the Standard for what should be done if the 
left side of the IN operator is an untyped NULL literal. Technically, there is 
no such thing in the Standard. The NULL needs to be cast to a legal type.
    
    Section 8.4 provides no guidance about the type correspondence of the IN 
list values. However, section 8.9 implies that the IN list is equivalent to the 
result of a subquery, which means that we must be able to cast all of the 
values on the right side to a common type.
    
    Thanks,
    -Rick



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to