fix: use deregisterTable for dropTable and dropTable for purgeTable#209
Merged
jackye1995 merged 2 commits intolance-format:mainfrom Feb 6, 2026
Merged
Conversation
9eb8261 to
4de2127
Compare
- dropTable now calls namespace.deregisterTable() which only removes metadata without deleting the underlying data - purgeTable now calls namespace.dropTable() which removes metadata and deletes the underlying data - Updated DirectoryNamespace tests to disable extra_level config and explicitly create the "default" namespace so that manifest mode is used instead of directory listing mode 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
4de2127 to
9225261
Compare
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.
Summary
dropTable()now callsnamespace.deregisterTable()which only removes metadata without deleting the underlying datapurgeTable()now callsnamespace.dropTable()which removes metadata and deletes the underlying dataChanges
dropTable()to useDeregisterTableRequestand callnamespace.deregisterTable()purgeTable()to useDropTableRequestand callnamespace.dropTable()extra_levelconfig and explicitly create the "default" namespace so that manifest mode is used instead of directory listing modeRelated PR
dropTableandderegisterTablewith properdeleteDatahandling in hive2/hive3 namespaces)🤖 Generated with Claude Code