[ https://issues.apache.org/jira/browse/HIVE-25941?focusedWorklogId=755635&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-755635 ]
ASF GitHub Bot logged work on HIVE-25941: ----------------------------------------- Author: ASF GitHub Bot Created on: 12/Apr/22 08:20 Start Date: 12/Apr/22 08:20 Worklog Time Spent: 10m Work Description: kasakrisz merged PR #3014: URL: https://github.com/apache/hive/pull/3014 Issue Time Tracking ------------------- Worklog Id: (was: 755635) Time Spent: 1h 50m (was: 1h 40m) > Long compilation time of complex query due to analysis for materialized view > rewrite > ------------------------------------------------------------------------------------ > > Key: HIVE-25941 > URL: https://issues.apache.org/jira/browse/HIVE-25941 > Project: Hive > Issue Type: Bug > Components: Materialized views > Reporter: Krisztian Kasa > Assignee: Krisztian Kasa > Priority: Major > Labels: pull-request-available > Attachments: sample.png > > Time Spent: 1h 50m > Remaining Estimate: 0h > > When compiling query the optimizer tries to rewrite the query plan or > subtrees of the plan to use materialized view scans. > If > {code} > set hive.materializedview.rewriting.sql.subquery=false; > {code} > the compilation succeed in less then 10 sec otherwise it takes several > minutes (~ 5min) depending on the hardware. -- This message was sent by Atlassian Jira (v8.20.1#820001)