hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10344) CBO (Calcite Return Path): Use newInstance to create ExprNodeGenericFuncDesc rather than construction function
Date Wed, 15 Apr 2015 22:25:59 GMT

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

Ashutosh Chauhan commented on HIVE-10344:
-----------------------------------------

+1

> 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
>
>         Attachments: HIVE-10344.01.patch
>
>
> 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)

Mime
View raw message