Github user dilipbiswal commented on the pull request:
https://github.com/apache/spark/pull/8983#issuecomment-146287283
Thank you @marmbrus @rick-ibm @cloud-fan
I checked the behavior of db2. It also raises an error if the in list types
are not compatible.
db2 => select * from f1 where NULL in (1, true)
SQL0401N The data types of the operands for the operation "IN" are not
compatible or comparable. SQLSTATE=42818
I am studying the code now to figure out how to detect this and raise an
error.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]