Zoltan Haindrich created HIVE-25370:
---------------------------------------

             Summary: Improve SharedWorkOptimizer performance
                 Key: HIVE-25370
                 URL: https://issues.apache.org/jira/browse/HIVE-25370
             Project: Hive
          Issue Type: Improvement
            Reporter: Zoltan Haindrich
            Assignee: Zoltan Haindrich


for queries which are unioning ~800 constant rows the SWO is doing around n*n/2 
operations trying to find 2 TS-es which could be merged

{code}
select constants
UNION ALL
...
UNION ALL
select constants
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to