You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2016/10/14 04:48:20 UTC
[jira] [Created] (HIVE-14957) HiveSortLimitPullUpConstantsRule
misses branches when parent operator is Union
Pengcheng Xiong created HIVE-14957:
--------------------------------------
Summary: HiveSortLimitPullUpConstantsRule misses branches when parent operator is Union
Key: HIVE-14957
URL: https://issues.apache.org/jira/browse/HIVE-14957
Project: Hive
Issue Type: Sub-task
Reporter: Pengcheng Xiong
Assignee: Pengcheng Xiong
Attachments: HIVE-14957.01.patch
{code}
call.transformTo(parent.copy(parent.getTraitSet(), ImmutableList.of(relBuilder.build())));
{code}
When parent is an union operator which has 2 inputs, the parent.copy will only copy the one that has SortLimit and ignore the other branches.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)