hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laljo John Pullokkaran (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 20:50:58 GMT

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

Laljo John Pullokkaran commented on HIVE-10344:
-----------------------------------------------

[~ashutoshc] Could you review and check this in to CBO branch?


> 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