You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2022/02/15 10:10:52 UTC

[GitHub] [hive] kasakrisz opened a new pull request #3030: HIVE-25918: Invalid stats after multi inserting into the same partition

kasakrisz opened a new pull request #3030:
URL: https://github.com/apache/hive/pull/3030


   ### What changes were proposed in this pull request?
   HIVE-23949 introduces a caching layer between HS2 and HMS.
   This patch disables the usage of the cache at execution time. To gain access to Session information the cache implementation is moved from the metastore-common project to the ql project.
   
   ### Why are the changes needed?
   Subsequent `getPartitionsByNames` calls return the cached `Partition` objects however alter partition may changed the underlying Partitions and the changes are not reflected in the cache objects. This can lead to data correctness issues for example when computing stats.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes. Incorrect results are fixed.
   
   ### How was this patch tested?
   ```
   mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=stats_part_multi_insert_acid.q -pl itests/qtest -Pitests
   ```
   


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

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org


[GitHub] [hive] kasakrisz merged pull request #3030: HIVE-25918: Invalid stats after multi inserting into the same partition

Posted by GitBox <gi...@apache.org>.
kasakrisz merged pull request #3030:
URL: https://github.com/apache/hive/pull/3030


   


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

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org