ViktorBystrov72 opened a new pull request, #21115:
URL: https://github.com/apache/hudi/pull/21115

   ### Describe the issue this Pull Request addresses
   
   Closes #20982.
   
   ### Summary and Changelog
   
   Check user schemas against the table format's reserved metadata column names 
at table creation, in writer schema validation, and before Spark commits a 
schema change. Matches are case-insensitive. Explicit column-statistics 
selections also exclude these names.
   
   ### Impact
   
   Conflicting fields fail during schema creation or evolution, before they 
reach a base-file rewrite. Existing readers can still load schemas using their 
own table format configuration.
   
   ### Risk Level
   
   Medium. The validation uses metadata columns declared by the table format. 
Three focused Maven tests passed on the Java client, covering a case-only 
conflict at creation, a writer that declares a column the older reader allows, 
and column-statistics initialization. The changed Java sources passed 
Checkstyle, and the Spark command passed Scala parser verification.
   
   ### Documentation Update
   
   None. The change enforces the table format's existing reservation earlier.
   
   ### Contributor's checklist
   
   - [x] Read through the contributor's guide
   - [x] Enough context is provided in the sections above
   - [x] Added regression tests
   


-- 
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]

Reply via email to