-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-16318][SQL] Implement all remaining xpath functions (branch-2.0) #14131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This patch implements all remaining xpath functions that Hive supports and not natively supported in Spark: xpath_int, xpath_short, xpath_long, xpath_float, xpath_double, xpath_string, and xpath. Added unit tests and end-to-end tests. Author: petermaxlee <petermaxlee@gmail.com> Closes apache#13991 from petermaxlee/SPARK-16318.
|
cc @cloud-fan |
|
LGTM, pending jenkins |
|
Test build #62076 has finished for PR 14131 at commit
|
|
retest this please |
|
looks like we also need to backport the improvement to |
|
Test build #62085 has finished for PR 14131 at commit
|
## What changes were proposed in this pull request? This small patch modifies ExpressionEvalHelper. checkEvaluation to support comparing NaN values for floating point comparisons. ## How was this patch tested? This is a test harness change. Author: petermaxlee <petermaxlee@gmail.com> Closes apache#14103 from petermaxlee/SPARK-16436.
|
I've added the checkEvaluation fix here too. |
|
Test build #62096 has finished for PR 14131 at commit
|
|
Test build #3179 has finished for PR 14131 at commit
|
|
Merging in branch-2.0. |
|
@petermaxlee can you close this? |
## What changes were proposed in this pull request? This patch implements all remaining xpath functions that Hive supports and not natively supported in Spark: xpath_int, xpath_short, xpath_long, xpath_float, xpath_double, xpath_string, and xpath. This is based on #13991 but for branch-2.0. ## How was this patch tested? Added unit tests and end-to-end tests. Author: petermaxlee <petermaxlee@gmail.com> Closes #14131 from petermaxlee/xpath-branch-2.0.
What changes were proposed in this pull request?
This patch implements all remaining xpath functions that Hive supports and not natively supported in Spark: xpath_int, xpath_short, xpath_long, xpath_float, xpath_double, xpath_string, and xpath.
This is based on #13991 but for branch-2.0.
How was this patch tested?
Added unit tests and end-to-end tests.