codope opened a new pull request #5169:
URL: https://github.com/apache/hudi/pull/5169
## What is the purpose of the pull request
In order to drop any metadata partition (index), we can reuse the
DELETE_PARTITION operation in metadata table. Subsequent to this, we can
support drop index (with table config update) for async metadata indexer.
## Brief change log
- Add a new API in `HoodieTableMetadataWriter`
- Current only supported for Spark metadata writer
## Verify this pull request
Added a unit test in TestHoodieBackedMetadata, which creates multiple
metadata partitions and then drops one. Asserted that there are no file slice
from the dropped partition.
## Committer checklist
- [ ] Has a corresponding JIRA in PR title & commit
- [ ] Commit message is descriptive of the change
- [ ] CI is green
- [ ] Necessary doc changes done or have another open PR
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
--
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]