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

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

                Author: ASF GitHub Bot
            Created on: 09/Feb/23 13:54
            Start Date: 09/Feb/23 13:54
    Worklog Time Spent: 10m 
      Work Description: simhadri-g commented on code in PR #4000:
URL: https://github.com/apache/hive/pull/4000#discussion_r1101492692


##########
ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java:
##########
@@ -454,6 +468,27 @@ private static Statistics collectStatistics(HiveConf conf, 
PrunedPartitionList p
     return stats;
   }
 
+  private static Map<String, Long> getValidBasicStatsFromStorageHandler(Table 
table) {
+
+    Map<String, String> storageHandlerBasicStatsMap =
+        (table.isNonNative() && 
table.getStorageHandler().canProvideBasicStatistics()) ? 
table.getStorageHandler()
+            .getBasicStatistics(Partish.buildFor(table)) : null;

Review Comment:
   Done.





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

    Worklog Id:     (was: 844580)
    Time Spent: 4.5h  (was: 4h 20m)

> Iceberg: Use BasicStats from iceberg table's currrentSnapshot.summary() for 
> query planning
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-27007
>                 URL: https://issues.apache.org/jira/browse/HIVE-27007
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Simhadri Govindappa
>            Assignee: Simhadri Govindappa
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 4.5h
>  Remaining Estimate: 0h
>




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

Reply via email to