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


   ### What changes were proposed in this pull request?
   Remove partition data by `ALTER TABLE .. DROP PARTITION` in V2 table catalog 
used in tests.
   
   ### Why are the changes needed?
   This is a bug fix. Before the fix, `ALTER TABLE .. DROP PARTITION` does not 
remove the data belongs to the dropped partition. As a consequence of that, the 
`select` query returns removed data.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   By running tests suites for v1 and v2 catalogs:
   ```
   $ build/sbt -Phive-2.3 -Phive-thriftserver "test:testOnly 
*AlterTablePartitionV2SQLSuite"
   ```
   
   Authored-by: Max Gekk <[email protected]>
   Signed-off-by: Dongjoon Hyun <[email protected]>
   (cherry picked from commit fc3f22645e5c542e80a086d96da384feb6afe121)
   Signed-off-by: Max Gekk <[email protected]>


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