hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mykhailo Kysliuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-20351) GenericUDFNamedStruct should constant fold at compile time
Date Thu, 09 Aug 2018 16:12:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-20351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mykhailo Kysliuk updated HIVE-20351:
------------------------------------
    Status: Patch Available  (was: In Progress)

> 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
>
>
> 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 not 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