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

   ### Describe the issue this Pull Request addresses
   
   Closes #19722
   
   ALTER TABLE SET/UNSET TBLPROPERTIES for Hudi tables only updated the Spark 
catalog and did not persist the corresponding Hudi table properties in 
hoodie.properties.
   
   ### Summary and Changelog
   
   Persist Hudi table properties changed through ALTER TABLE SET/UNSET 
TBLPROPERTIES into hoodie.properties.
   
   Changes:
   - Persist Hudi-related properties to hoodie.properties on ALTER TABLE SET 
TBLPROPERTIES.
   - Remove Hudi-related properties from hoodie.properties on ALTER TABLE UNSET 
TBLPROPERTIES.
   - Keep non-Hudi/Spark properties catalog-only.
   - Reuse Hudi's existing option mapping and table-config validation.
   
   ### Impact
   
   Low user-facing impact. ALTER TABLE SET/UNSET TBLPROPERTIES now correctly 
persists and removes Hudi table configurations in hoodie.properties. Non-Hudi 
Spark table properties continue to behave as catalog-only properties.
   
   No public API changes and no expected performance impact.
   
   ### Risk Level
   
   low
   
   The change is limited to ALTER TABLE property handling and uses the existing 
Hudi table-config validation and persistence APIs. TestAlterTable was executed 
with 33/33 tests passing, and the Maven build completed successfully.
   
   ### Documentation Update
   
   none


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