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-10479) Empty tabAlias in columnInfo which triggers PPD
Date Mon, 27 Apr 2015 19:21:39 GMT

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

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

This is a temporary patch that introduces aliases for Join input.

The correct solution is to carry aliases from TS above, create table aliases for Derived table
if there are any virtual cols involved; For join make table aliases from below unique incase
of table alias name clashes.

> Empty tabAlias in columnInfo which triggers PPD
> -----------------------------------------------
>
>                 Key: HIVE-10479
>                 URL: https://issues.apache.org/jira/browse/HIVE-10479
>             Project: Hive
>          Issue Type: Sub-task
>          Components: CBO
>            Reporter: Pengcheng Xiong
>            Assignee: Laljo John Pullokkaran
>             Fix For: 1.2.0
>
>         Attachments: HIVE-10479.patch
>
>
> in ql/src/java/org/apache/hadoop/hive/ql/ppd/OpProcFactory.java, line 477, when aliases
contains empty string "" and key is an empty string "" too, it assumes that aliases contains
key. This will trigger incorrect PPD. To reproduce it, apply the HIVE-10455 and run cbo_subq_notin.q.



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

Mime
View raw message