You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zoltan Haindrich (Jira)" <ji...@apache.org> on 2021/07/22 13:52:00 UTC

[jira] [Created] (HIVE-25370) Improve SharedWorkOptimizer performance

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)