[KYUUBI #7369] KSHC support the PURGE TABLE#7370
Closed
maomaodev wants to merge 7 commits intoapache:masterfrom
Closed
[KYUUBI #7369] KSHC support the PURGE TABLE#7370maomaodev wants to merge 7 commits intoapache:masterfrom
maomaodev wants to merge 7 commits intoapache:masterfrom
Conversation
pan3793
reviewed
Mar 27, 2026
pan3793
reviewed
Mar 27, 2026
Member
|
it would be great if you could add a test coverage for the newly introduced config, but this is optional if you think it's not easy to write. |
Contributor
Author
Member
|
please update the PR description to reflect the eventual state of this PR |
Contributor
Author
updated. |
pan3793
approved these changes
Mar 29, 2026
Member
|
@maomaodev sorry, the CI stopped working due to ASF's recent change, I opened #7372 to fix it, and you need to rebase this PR after it gets merged (likely tomorrow). Apologies for the inconvenience. |
Member
|
@maomaodev I merged #7372, could you please rebase master to trigger the CI? |
Contributor
Author
done |
Member
|
thanks, merging to master |
Contributor
Author
Thanks for the quick review and merge! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Why are the changes needed?
DROP TABLE ... PURGEsyntax in KSHC, so users can explicitly purge table data.spark.sql.kyuubi.hive.connector.dropTableAsPurgeTable(default: false) in KSHC. When set to true,DROP TABLEbehaves likePURGE— data is removed immediately and HDFS Trash is bypassed (preserving the previous behavior). When set to false,DROP TABLEwill move table data to the HDFS Trash instead.How was this patch tested?
Was this patch authored or co-authored using generative AI tooling?
no