[
https://issues.apache.org/jira/browse/HIVE-19690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16495688#comment-16495688
]
Sergey Shelukhin commented on HIVE-19690:
-----------------------------------------
This problem for me happens both with and without CBO, vectorization, or Tez.
It's a fundamental issue with the plan as far as I see... but I'm not sure it
would be related to the other issue.
The problem is that two GBY operators expect rows with different layout, one
pre-processed for distinct by ReduceSinkOperator, one not.
However, if there's only one RSOp, it always pre-processes the rows.
Not sure why that would affect operator names.
> multi-insert query with multiple GBY, and distinct in only some branches can
> produce incorrect results
> ------------------------------------------------------------------------------------------------------
>
> Key: HIVE-19690
> URL: https://issues.apache.org/jira/browse/HIVE-19690
> Project: Hive
> Issue Type: Bug
> Reporter: Riju Trivedi
> Assignee: Sergey Shelukhin
> Priority: Major
> Attachments: HIVE-19690.01.patch, HIVE-19690.02.patch,
> HIVE-19690.patch
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)