hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20351) GenericUDFNamedStruct should constant fold at compile time
Date Fri, 17 Aug 2018 22:19:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-20351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16584447#comment-16584447
] 

Hive QA commented on HIVE-20351:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12936035/HIVE-20351.4.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 14884 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druidmini_test1] (batchId=194)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_annotate_stats_select]
(batchId=165)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/13308/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13308/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13308/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12936035 - PreCommit-HIVE-Build

> GenericUDFNamedStruct should constant fold at compile time
> ----------------------------------------------------------
>
>                 Key: HIVE-20351
>                 URL: https://issues.apache.org/jira/browse/HIVE-20351
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Mykhailo Kysliuk
>            Assignee: Mykhailo Kysliuk
>            Priority: Minor
>         Attachments: HIVE-20351.1.patch, HIVE-20351.2.patch, HIVE-20351.3.patch, HIVE-20351.4.patch
>
>
> Reproduced at hive-3.0.
> When we run hive query:
> {code:java}
> select named_struct('Total','Total') from test;
> {code}
> We could see the ERROR at hiveserver logs:
> {code:java}
> 2018-05-25T15:18:13,182 ERROR [main] optimizer.ConstantPropagateProcFactory: Unable to
evaluate org.apache.hadoop.hive.ql.udf.generic.GenericUDFNamedStruct@a0bf272. Return value
unrecoginizable.
> {code}
> This error is harmless because all results are correct. But named_struct constant values
should be processed correctly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message