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

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

                Author: ASF GitHub Bot
            Created on: 07/Mar/23 12:13
            Start Date: 07/Mar/23 12:13
    Worklog Time Spent: 10m 
      Work Description: kasakrisz commented on code in PR #4079:
URL: https://github.com/apache/hive/pull/4079#discussion_r1127764770


##########
ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java:
##########
@@ -2947,6 +2948,10 @@ private RelNode genTableLogicalPlan(String tableAlias, 
QB qb) throws SemanticExc
           if (AcidUtils.isNonNativeAcidTable(tabMetaData, false)) {
             
virtualCols.addAll(tabMetaData.getStorageHandler().acidVirtualColumns());
           }
+          if (tabMetaData.isNonNative() && 
tabMetaData.getStorageHandler().areSnapshotsSupported() &&
+              isBlank(tabMetaData.getMetaTable())) {

Review Comment:
   In case of metadata queries the `Table` object has a metaTable field which 
alters the meaning of SnapshotId
   https://issues.apache.org/jira/browse/HIVE-25457 introduced the metaTable 
field.





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

    Worklog Id:     (was: 849538)
    Time Spent: 4h 40m  (was: 4.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: 4h 40m
>  Remaining Estimate: 0h
>




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

Reply via email to