[
https://issues.apache.org/jira/browse/HIVE-9864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14375711#comment-14375711
]
Hive QA commented on HIVE-9864:
-------------------------------
{color:red}Overall{color}: -1 at least one tests failed
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12706463/HIVE-9864.1.patch
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 7821 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udaf_percentile_approx_23
{noformat}
Test results:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3115/testReport
Console output:
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3115/console
Test logs:
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3115/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12706463 - PreCommit-HIVE-TRUNK-Build
> Create UDF jsonpath which support full JsonPath syntax
> ------------------------------------------------------
>
> Key: HIVE-9864
> URL: https://issues.apache.org/jira/browse/HIVE-9864
> Project: Hive
> Issue Type: Improvement
> Components: UDF
> Reporter: Alexander Pivovarov
> Assignee: Alexander Pivovarov
> Attachments: HIVE-9864.1.patch
>
>
> Existing udf get_json_object supports limited JsonPath syntax.
> It would be nice if we have full JsonPath syntax support.
> We can use Jayway JsonPath 2.0.0 to query json (Apache License, Version 2.0)
> Reasons:
> 1. existing get_json_object syntax is limited in comparison to Jayway JsonPath
> 2. get_json_object uses lots of custom java code which can be replaced with
> simple JsonPath API calls, e.g.
> {code}
> Object result = JsonPath.parse(json).read(path)
> {code}
> I think we should not change existing get_json_object udf and better to
> create new one because Jayway JsonPath works slightly different in some
> situations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)