You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Deepak Jaiswal (JIRA)" <ji...@apache.org> on 2018/07/05 22:59:00 UTC
[jira] [Created] (HIVE-20100) OpTraits : Select Optraits should
stop when a mismatch is detected
Deepak Jaiswal created HIVE-20100:
-------------------------------------
Summary: 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
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)