[ 
https://issues.apache.org/jira/browse/HIVE-27101?focusedWorklogId=849216&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-849216
 ]

ASF GitHub Bot logged work on HIVE-27101:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Mar/23 08:32
            Start Date: 06/Mar/23 08:32
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ commented on code in PR #4079:
URL: https://github.com/apache/hive/pull/4079#discussion_r1126083401


##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:
##########
@@ -2101,6 +2102,41 @@ public boolean 
validateMaterializedViewsFromRegistry(List<Table> cachedMateriali
     }
   }
 
+  private Materialization 
getMaterializationInvalidationInfo(MaterializedViewMetadata metadata)
+      throws TException, HiveException {
+    MaterializationSnapshot mvSnapshot = 
MaterializationSnapshot.fromJson(metadata.creationMetadata.getValidTxnList());
+    if (mvSnapshot.getTableSnapshots() == null || 
mvSnapshot.getTableSnapshots().isEmpty()) {

Review Comment:
   is this the only way to verify that's an ACID MV? could we inspect the MV 
create properties? we could be doing unnecessary JSON parse.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 849216)
    Time Spent: 2h 40m  (was: 2.5h)

> Support incremental materialized view rebuild when Iceberg source tables have 
> insert operation only.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-27101
>                 URL: https://issues.apache.org/jira/browse/HIVE-27101
>             Project: Hive
>          Issue Type: Improvement
>          Components: Iceberg integration, Materialized views
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to