diff options
author | Reynold Xin <rxin@databricks.com> | 2016-01-18 11:08:44 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-01-18 11:08:44 -0800 |
commit | 44fcf992aa516153a43d7141d3b8e092f0671ba4 (patch) | |
tree | 5fa75910a95ce88fc204d8388cd1fd14adb69258 /mllib/src/test/scala/org/apache | |
parent | db9a860589bfc4f80d6cdf174a577ca538b82e6d (diff) | |
download | spark-44fcf992aa516153a43d7141d3b8e092f0671ba4.tar.gz spark-44fcf992aa516153a43d7141d3b8e092f0671ba4.tar.bz2 spark-44fcf992aa516153a43d7141d3b8e092f0671ba4.zip |
[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.
Author: Reynold Xin <rxin@databricks.com>
Closes #10802 from rxin/SPARK-12873.
Diffstat (limited to 'mllib/src/test/scala/org/apache')
0 files changed, 0 insertions, 0 deletions