You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hari Sankar Sivarama Subramaniyan (JIRA)" <ji...@apache.org> on 2016/01/07 00:38:39 UTC

[jira] [Updated] (HIVE-12645) ConstantPropagateProcCtx.resolve() should verify internal names in addition to alias to match 2 columns from different row schemas

     [ https://issues.apache.org/jira/browse/HIVE-12645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hari Sankar Sivarama Subramaniyan updated HIVE-12645:
-----------------------------------------------------
    Summary: ConstantPropagateProcCtx.resolve() should verify internal names in addition to alias to match 2 columns from different row schemas   (was: ConstantPropagateProcCtx.resolve() should verify internal names first instead of alias to match 2 columns from different row schemas )

> ConstantPropagateProcCtx.resolve() should verify internal names in addition to alias to match 2 columns from different row schemas 
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-12645
>                 URL: https://issues.apache.org/jira/browse/HIVE-12645
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: HIVE-12645.1.patch, HIVE-12645.2.patch, HIVE-12645.3.patch, HIVE-12645.4.patch
>
>
> Currently, it seems that we look to match the ColumnInfo between the parent and the child rowschemas by calling rci = rs.getColumnInfo(tblAlias, alias) which might be a bit aggressive. i.e. we will lose opportunity to constant propogate even if the columns are the same but the alias in the rowschemas do not match.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)