Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Reproduced at hive-3.0.
When we run hive query:
select named_struct('Total','Total') from test;
We could see the ERROR at hiveserver logs:
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.
This error is harmless because all results are correct. But named_struct constant values should be processed correctly.
Attachments
Attachments
Issue Links
- relates to
-
HIVE-13951 GenericUDFArray should constant fold at compile time
- Open
-
HIVE-11462 GenericUDFStruct should constant fold at compile time
- Closed