[ https://issues.apache.org/jira/browse/HIVE-20351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16587810#comment-16587810 ]
Hive QA commented on HIVE-20351: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12936432/HIVE-20351.5.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 14885 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/13375/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13375/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13375/ 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 {noformat} This message is automatically generated. ATTACHMENT ID: 12936432 - 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, HIVE-20351.5.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)