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

   ### Purpose
   
   Linked issue: close #2363
   
   `PaimonTieringITCase` currently tests that data can be tiered after a schema 
change, but it doesn't cover the "Union Read" path. This PR adds a test to 
ensure that Flink SQL correctly merges records from both the lake (old schema) 
and the log (new schema) after an `ADD COLUMN` operation.
   
   ### Brief change log
   
   - Initialized `StreamTableEnvironment` and registered the Fluss catalog in 
`PaimonTieringITCase`.
   - Added `testUnionReadWithAddColumn` to verify that old records in Paimon 
are projected with NULLs and new records in the log are projected correctly 
during a union read.
   
   ### Tests
   
   - Added 
`org.apache.fluss.lake.paimon.tiering.PaimonTieringITCase#testUnionReadWithAddColumn`.
   - Verified with: `mvn test -pl fluss-lake/fluss-lake-paimon 
-Dtest=PaimonTieringITCase#testUnionReadWithAddColumn`.
   
   ### API and Format
   
   N/A
   
   ### Documentation
   
   N/A


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