[ https://issues.apache.org/jira/browse/HIVE-24519?focusedWorklogId=531761&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-531761 ]
ASF GitHub Bot logged work on HIVE-24519: ----------------------------------------- Author: ASF GitHub Bot Created on: 06/Jan/21 08:51 Start Date: 06/Jan/21 08:51 Worklog Time Spent: 10m Work Description: kasakrisz commented on a change in pull request #1772: URL: https://github.com/apache/hive/pull/1772#discussion_r552443328 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java ########## @@ -28,11 +28,14 @@ import com.google.common.util.concurrent.MoreExecutors; import com.google.common.util.concurrent.ThreadFactoryBuilder; +import static org.apache.hadoop.hive.conf.Constants.MATERIALIZED_VIEW_REWRITING_TIME_WINDOW; import static org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.META_TABLE_STORAGE; import static org.apache.hadoop.hive.metastore.utils.MetaStoreUtils.getDefaultCatalog; import static org.apache.hadoop.hive.ql.io.AcidUtils.getFullTableName; import static org.apache.hadoop.hive.ql.metadata.HiveRelOptMaterialization.RewriteAlgorithm.CALCITE; import static org.apache.hadoop.hive.ql.metadata.HiveRelOptMaterialization.RewriteAlgorithm.ALL; +import static org.apache.hadoop.hive.ql.metadata.HiveRelOptMaterialization.RewriteAlgorithm.CALCITE; Review comment: removed duplicates ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 531761) Time Spent: 2h (was: 1h 50m) > Optimize MV: Materialized views should not rebuild when tables are not > modified > ------------------------------------------------------------------------------- > > Key: HIVE-24519 > URL: https://issues.apache.org/jira/browse/HIVE-24519 > Project: Hive > Issue Type: Sub-task > Components: Materialized views > Reporter: Rajesh Balamohan > Assignee: Krisztian Kasa > Priority: Major > Labels: pull-request-available > Time Spent: 2h > Remaining Estimate: 0h > > e.g > {noformat} > create materialized view c_c_address as > select c_customer_sk from customer c, customer_address ca where > c_current_addr_sk = ca.ca_address_id; > ALTER MATERIALIZED VIEW c_c_address REBUILD; <-- This shouldn't trigger > rebuild, when source tables are not modified > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)