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

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

                Author: ASF GitHub Bot
            Created on: 24/Jun/21 15:36
            Start Date: 24/Jun/21 15:36
    Worklog Time Spent: 10m 
      Work Description: pvary opened a new pull request #2427:
URL: https://github.com/apache/hive/pull/2427


   ### What changes were proposed in this pull request?
   
   - Introduce a new configuration property: `iceberg.hive.keep.stats`. If this 
property is set then we keep the statistics at a new Iceberg commit. Otherwise 
we invalidate the stats as we can not make sure that they are correct.
   - Fix a NullPointerExeption in HiveIcebergMetaHook which happens when we are 
storing stats.
   - Adds a new unit tests, and enhances the check that the stat values are 
accurate
   
   Also contains HIVE-25276 as a base.
   
   ### Why are the changes needed?
   When someone modifies the Iceberg table outside of Hive then we should make 
sure that the stats are invalid
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Extra unit test


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

            Worklog Id:     (was: 614575)
    Remaining Estimate: 0h
            Time Spent: 10m

> Set stats to inaccurate when an Iceberg table is modified outside Hive
> ----------------------------------------------------------------------
>
>                 Key: HIVE-25286
>                 URL: https://issues.apache.org/jira/browse/HIVE-25286
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When an Iceberg table is modified outside of Hive then the stats should be 
> set to inaccurate since there is no way to ensure that the HMS stats are 
> updated correctly and this could cause incorrect query results.
> The proposed solution is only working for HiveCatalog



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to