Prasanth J created HIVE-5868:
--------------------------------

             Summary: Add statistics rule for Union operator
                 Key: HIVE-5868
                 URL: https://issues.apache.org/jira/browse/HIVE-5868
             Project: Hive
          Issue Type: Sub-task
    Affects Versions: 0.13.0
            Reporter: Prasanth J
            Assignee: Prasanth J


At this point union operator uses the default statistics rule which will merge 
the statistics from its parent operators. The default rule does not assign the 
output table alias to each of the column statistics. This will result in 
incorrectly fetching column statistics when statistics of union operator is 
referenced further down the operator tree. A new rule for union operator should 
be added which should merge column statistics properly and rename the column 
names based on output row schema of union operator.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to