Skip to content

Conversation

@petermaxlee
Copy link
Contributor

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.

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.
@petermaxlee
Copy link
Contributor Author

cc @cloud-fan

@cloud-fan
Copy link
Contributor

LGTM, pending jenkins

@SparkQA
Copy link

SparkQA commented Jul 11, 2016

Test build #62076 has finished for PR 14131 at commit 4d6f654.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@cloud-fan
Copy link
Contributor

retest this please

@cloud-fan
Copy link
Contributor

looks like we also need to backport the improvement to checkEvaluation

@SparkQA
Copy link

SparkQA commented Jul 11, 2016

Test build #62085 has finished for PR 14131 at commit 4d6f654.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

## 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.
@petermaxlee
Copy link
Contributor Author

I've added the checkEvaluation fix here too.

@SparkQA
Copy link

SparkQA commented Jul 11, 2016

Test build #62096 has finished for PR 14131 at commit ce53833.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jul 11, 2016

Test build #3179 has finished for PR 14131 at commit ce53833.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Jul 11, 2016

Merging in branch-2.0.

@rxin
Copy link
Contributor

rxin commented Jul 11, 2016

@petermaxlee can you close this?

asfgit pushed a commit that referenced this pull request Jul 11, 2016
## 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants