Revert "[HUDI-6438] Config parameter 'MAKE_NEW_COLUMNS_NULLABLE' to allow for marking a newly created column as nullable" #10782
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.
Reverts commit 42799c0
Change Logs
Reverting of adding of unnecessary parameter
hoodie.datasource.write.new.columns.nullable.It started from issue 9042. The real problem was in inconsistency between Hudi table schema and Spark catalog schema. But during discussion of the issue JIRA task HUDI-6438 was created. As a results, the task was resolved by adding new parameter
hoodie.datasource.write.new.columns.nullable, which is not right, because it allows to workaround implicit inconsistency in schemas. We need to provide consistency between existed schemas.Furthermore, the real problem with inconsistency between Hudi table schema and Spark catalog schema was solved in another MR, which fixes similar former JIRA task HUDI-6219. This MR fix the issue properly. So, we don't need new parameter
hoodie.datasource.write.new.columns.nullable.Impact
Removes parameter, which allows to workaround implicit inconsistency in schemas.
Risk level (write none, low medium or high below)
Low
Documentation Update
Remove description of
hoodie.datasource.write.new.columns.nullablefrom All Configurations list.I will open corresponding MR to
asf-siteand link this MR.Contributor's checklist