[ https://issues.apache.org/jira/browse/HIVE-25546?focusedWorklogId=658272&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-658272 ]
ASF GitHub Bot logged work on HIVE-25546: ----------------------------------------- Author: ASF GitHub Bot Created on: 30/Sep/21 11:43 Start Date: 30/Sep/21 11:43 Worklog Time Spent: 10m Work Description: zabetak commented on a change in pull request #2663: URL: https://github.com/apache/hive/pull/2663#discussion_r719322625 ########## File path: ql/src/test/queries/clientpositive/materialized_view_parquet.q ########## @@ -189,8 +189,10 @@ alter materialized view mv1_parquet_n2 rebuild; alter materialized view mv1_parquet_n2 rebuild; explain cbo -select name from emps_parquet_n3 group by name; +select name, sum(empid) from emps_parquet_n3 group by name; Review comment: Thanks for clarifying -- 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. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 658272) Time Spent: 2h 20m (was: 2h 10m) > Enable incremental rebuild of Materialized views with insert only source > tables > ------------------------------------------------------------------------------- > > Key: HIVE-25546 > URL: https://issues.apache.org/jira/browse/HIVE-25546 > Project: Hive > Issue Type: Improvement > Components: CBO, Materialized views > Reporter: Krisztian Kasa > Assignee: Krisztian Kasa > Priority: Major > Labels: pull-request-available > Time Spent: 2h 20m > Remaining Estimate: 0h > > {code} > create table t1(a int, b int, c int) stored as parquet TBLPROPERTIES > ('transactional'='true', 'transactional_properties'='insert_only'); > create materialized view mat1 stored as orc TBLPROPERTIES > ('transactional'='true') as > select a, b, c from t1 where a > 10; > {code} > Currently materialized view *mat1* can not be rebuilt incrementally because > it has an insert only source table (t1). Such tables does not have > ROW_ID.write_id which is required to identify newly inserted records since > the last rebuild. > HIVE-25406 adds the ability to query write_id. -- This message was sent by Atlassian Jira (v8.3.4#803005)