You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2015/04/15 22:33:59 UTC

[jira] [Commented] (HIVE-10344) CBO (Calcite Return Path): Use newInstance to create ExprNodeGenericFuncDesc rather than construction function

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

Pengcheng Xiong commented on HIVE-10344:
----------------------------------------

[~jpullokkaran], after this patch, the cbo_simple_select got passed when return path is turned on.

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