nsivabalan opened a new pull request #4941:
URL: https://github.com/apache/hudi/pull/4941
## What is the purpose of the pull request
PopulateMetafields value for metadata table will never get updated once
metadata table get initialized for the first time. With 0.11, we are making
populate meta fields as false for metadata table which was true by default in
0.10.0. So fixing the update in this patch by re-initializing the metaclient if
property value has changed.
## Brief change log
Add re-intialization of metadata table metaclient and table config if
populate meta fields have changed.
## Verify this pull requests
This change added tests and can be verified as follows:
- TestHoodieBackedMetadata.testUpdationOfPopulateMetaFieldsForMetadataTable
## 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]