[SPARK-4648][SQL] Support COALESCE function in Spark SQL and Hive QL#3510
[SPARK-4648][SQL] Support COALESCE function in Spark SQL and Hive QL#3510ravipesala wants to merge 6 commits intoapache:masterfrom
Conversation
|
Test build #23938 has started for PR 3510 at commit
|
|
Test build #23938 has finished for PR 3510 at commit
|
|
Test FAILed. |
|
Test build #23942 has started for PR 3510 at commit
|
|
Test FAILed. |
|
retest please |
|
Test build #23942 has finished for PR 3510 at commit
|
|
Test PASSed. |
with local function.
|
Test build #23949 has started for PR 3510 at commit
|
|
Test build #23949 has finished for PR 3510 at commit
|
|
Test PASSed. |
There was a problem hiding this comment.
Nit: Move that into the pattern matching guard?
There was a problem hiding this comment.
Though then you would have to do the map/distinct twice I believe.
|
That's a good catch, but the children data type converting criteria for |
|
Thanks for working on this! In order to keep the PR queue small, I propose we close this issue for now and reopen it once we figure out the correct coercion semantics and add more tests. |
Support Coalesce function in Spark SQL.
Support type widening in Coalesce function.
And replace Coalesce UDF in Spark Hive with local Coalesce function since it is memory efficient and faster.