[
https://issues.apache.org/jira/browse/HIVE-27158?focusedWorklogId=856664&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-856664
]
ASF GitHub Bot logged work on HIVE-27158:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 13/Apr/23 08:22
Start Date: 13/Apr/23 08:22
Worklog Time Spent: 10m
Work Description: InvisibleProgrammer commented on PR #4131:
URL: https://github.com/apache/hive/pull/4131#issuecomment-1506552227
I wonder, why it is necessary to check if the tables are not native tables
before getting or setting column statistics?
The interface already provides canSet... and canProvide... methods. Isn't it
enough to call those methods to decide if it can be done?
```java
if (tbl != null && tbl.isNonNative() &&
tbl.getStorageHandler().canSetColStatistics(tbl)) {
tbl.getStorageHandler().setColStatistics(tbl, colStats);
}
if (table.isNonNative() &&
table.getStorageHandler().canProvideColStatistics(table)) {
```
Issue Time Tracking
-------------------
Worklog Id: (was: 856664)
Time Spent: 10h 10m (was: 10h)
> Store hive columns stats in puffin files for iceberg tables
> -----------------------------------------------------------
>
> Key: HIVE-27158
> URL: https://issues.apache.org/jira/browse/HIVE-27158
> Project: Hive
> Issue Type: Improvement
> Reporter: Simhadri Govindappa
> Assignee: Simhadri Govindappa
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10h 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)