[
https://issues.apache.org/jira/browse/HIVE-16048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15896663#comment-15896663
]
Hive QA commented on HIVE-16048:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12856204/HIVE-16048.3.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 17 failed/errored test(s), 10327 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[escape_comments]
(batchId=229)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[autogen_colalias]
(batchId=26)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[cbo_rp_udf_percentile2]
(batchId=18)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[cbo_rp_udf_percentile]
(batchId=39)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[constantfolding]
(batchId=69)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[create_udaf] (batchId=54)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[create_view] (batchId=37)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udaf_percentile]
(batchId=33)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_percentile]
(batchId=59)
org.apache.hadoop.hive.cli.TestContribCliDriver.testCliDriver[udaf_example_max]
(batchId=223)
org.apache.hadoop.hive.cli.TestContribCliDriver.testCliDriver[udaf_example_min]
(batchId=223)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[cbo_rp_windowing_2]
(batchId=143)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[schema_evol_text_vec_table]
(batchId=147)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[windowing]
(batchId=149)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[udf_percentile]
(batchId=122)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[vector_between_in]
(batchId=119)
org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[windowing]
(batchId=117)
{noformat}
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3954/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3954/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3954/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
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: 17 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12856204 - PreCommit-HIVE-Build
> Hive UDF doesn't get the right evaluate method
> ----------------------------------------------
>
> Key: HIVE-16048
> URL: https://issues.apache.org/jira/browse/HIVE-16048
> Project: Hive
> Issue Type: Bug
> Components: Query Planning
> Affects Versions: 1.1.1
> Reporter: Liao, Xiaoge
> Attachments: HIVE-16048.3.patch
>
>
> Hive UDF doesn't get the right evaluate method if there is variable parameter
> in the method of evaluate.
> For example:
> public class TestUdf extends UDF {
> public String evaluate(String a, String b) throws ParseException {
> return a + ":" + b;
> }
> public String evaluate(String a, String... b) throws ParseException {
> return b[0] + ":" + a;
> }
> }
> the udf may get the wrong result
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)