hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Jaiswal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-20100) OpTraits : Select Optraits should stop when a mismatch is detected
Date Tue, 10 Jul 2018 18:56:01 GMT

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

Deepak Jaiswal updated HIVE-20100:
----------------------------------
    Attachment: HIVE-20100.02-branch-3.patch

> OpTraits : Select Optraits should stop when a mismatch is detected
> ------------------------------------------------------------------
>
>                 Key: HIVE-20100
>                 URL: https://issues.apache.org/jira/browse/HIVE-20100
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Deepak Jaiswal
>            Assignee: Deepak Jaiswal
>            Priority: Major
>         Attachments: HIVE-20100.01-branch-3.patch, HIVE-20100.02-branch-3.patch, HIVE-20100.1.patch,
HIVE-20100.2.patch, HIVE-20100.3.patch, HIVE-20100.4.patch, HIVE-20100.5.patch, HIVE-20100.6.patch,
HIVE-20100.7.patch, HIVE-20100.8.patch
>
>
> The select operator's optraits logic as stated in the comment is,
> // For bucket columns
> // If all the columns match to the parent, put them in the bucket cols
> // else, add empty list.
> // For sort columns
> // Keep the subset of all the columns as long as order is maintained.
>  
> However, this is not happening due to a bug. The bool found is never reset, so if a single
match is found, the value remains true and allows the optraits get populated with partial
list of columns for bucket col which is incorrect.
> This may lead to creation of SMB join which should not happen.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message