GitHub user adrian-wang opened a pull request:
https://github.com/apache/spark/pull/4945
[SPARK-6201] [SQL] promote string and do widen types for IN
@huangjs
Acutally spark sql will first go through analysis period, in which we do
widen types and promote strings, and then optimization, where constant IN will
be converted into INSET.
So it turn out that we only need to fix this for IN.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/adrian-wang/spark inset
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4945.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4945
----
commit 6c838c410bb228f8086410ffc2e84b3d5a9e42e1
Author: Daoyuan Wang <[email protected]>
Date: 2015-03-09T06:27:59Z
promote string and do widen types for IN
----
---
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]