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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to