GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/10802
[SPARK-12873][SQL] Add more comment in HiveTypeCoercion for type widening
I was reading this part of the analyzer code again and got confused by the
difference between findWiderTypeForTwo and findTightestCommonTypeOfTwo.
I also simplified WidenSetOperationTypes to make it a lot simpler. The
easiest way to review this one is to just read the original code, and the new
code. The logic is super simple.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark SPARK-12873
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10802.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 #10802
----
commit 888ae9d18316c8b595e27dd7ebf51e75e3f7b170
Author: Reynold Xin <[email protected]>
Date: 2016-01-18T07:32:09Z
[SPARK-12873][SQL] Add more comment in HiveTypeCoercion for type widening
commit 9232ba296d8172847815c7425257af6ec441e8da
Author: Reynold Xin <[email protected]>
Date: 2016-01-18T07:33:56Z
updated
----
---
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]