[
https://issues.apache.org/jira/browse/HIVE-10344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pengcheng Xiong updated HIVE-10344:
-----------------------------------
Summary: CBO (Calcite Return Path): Use newInstance to create
ExprNodeGenericFuncDesc rather than construction function (was: Use
newInstance to create ExprNodeGenericFuncDesc rather than construction function)
> CBO (Calcite Return Path): Use newInstance to create ExprNodeGenericFuncDesc
> rather than construction function
> --------------------------------------------------------------------------------------------------------------
>
> Key: HIVE-10344
> URL: https://issues.apache.org/jira/browse/HIVE-10344
> Project: Hive
> Issue Type: Sub-task
> Components: CBO
> Reporter: Pengcheng Xiong
> Assignee: Pengcheng Xiong
> Fix For: 1.2.0
>
>
> ExprNodeGenericFuncDesc is now created using a constructer. It skips the
> initialization step "genericUDF.initializeAndFoldConstants" compared with
> using newInstance method. If the initialization step is skipped, some
> configuration parameters are not included in the serialization which
> generates wrong results/errors.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)