MaxGekk opened a new pull request #31017:
URL: https://github.com/apache/spark/pull/31017


   ### What changes were proposed in this pull request?
   1. Refresh the cache associated with tables from v2 table catalogs in the 
`ALTER TABLE .. DROP PARTITION` command.
   2. Port the test for v1 catalogs to the base suite to run it for v2 table 
catalog.
   
   ### Why are the changes needed?
   The changes fix incorrect query results from cached V2 table altered by 
`ALTER TABLE .. DROP PARTITION`, see the added test and SPARK-33987.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, it could if users have v2 table catalogs.
   
   
   ### How was this patch tested?
   By running unified tests for `ALTER TABLE .. DROP PARTITION`:
   ```
   $ build/sbt -Phive-2.3 -Phive-thriftserver "test:testOnly 
*AlterTableDropPartitionSuite"
   ```


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



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

Reply via email to