[
https://issues.apache.org/jira/browse/HIVE-25370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoltan Haindrich resolved HIVE-25370.
-------------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
merged into master. Thank you Krisztian for reviewing the changes!
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)