JingsongLi opened a new pull request, #10521:
URL: https://github.com/apache/paimon/pull/10521

   ### Purpose
   
   Setting `postpone.merge-on-read = true` as a table option currently causes 
`FlinkSourceBuilder` to reject unbounded sources. Apply postpone merge-on-read 
only when `sourceBounded` is true so streaming reads can use the same table 
configuration and continue through the normal source path.
   
   Update the regression test to assert that an unbounded source is built 
successfully with `CONTINUOUS_UNBOUNDED` boundedness.
   
   ### Tests
   
   The updated regression test reproduced the original exception before the 
fix. All 20 selected tests passed after the fix, including the complete 
`FlinkSourceBuilderTest` class, bounded merge-on-read parallelism inference, 
and batch merge-on-read integration coverage. Standard build checks were 
enabled.
   
   ```shell
   mvn -o -pl paimon-flink/paimon-flink-common -am -Pflink1 \
     -DfailIfNoTests=false -DwildcardSuites=none \
     
'-Dtest=FlinkSourceBuilderTest,DataTableSourceTest#testInferPostponeMergeParallelism,PostponeBucketTableITCase#testMergeOnRead'
 test
   ```
   


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