luoyuxia opened a new pull request, #2973:
URL: https://github.com/apache/fluss/pull/2973

   ### Purpose
   
   Linked issue: close #2961
   
   This PR allows enabling datalake for legacy log tables without bucket keys 
after cluster-level datalake has been enabled.
   
   ### Brief change log
   
   - relax alter-table validation so legacy log tables without bucket keys can 
enable `table.datalake.enabled`
   - keep the original restriction for tables that still require distribution 
alignment with the lake format
   - backfill `table.datalake.format` before `preAlterTableProperties(...)` so 
the altered table descriptor, lake-table creation path, and persisted table 
metadata stay consistent
   - add an IT case covering the legacy log-table-without-bucket-key flow and 
verifying the backfilled format
   
   ### Tests
   
   - `./mvnw -pl fluss-client -am -Dtest=LakeEnableTableITCase 
-DfailIfNoTests=false clean test`
   
   ### API and Format
   
   - no API change
   - legacy log tables without bucket keys now persist `table.datalake.format` 
when datalake is enabled after cluster-level datalake is turned on
   
   ### Documentation
   
   - no
   


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