You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "lilei1128 (via GitHub)" <gi...@apache.org> on 2026/09/16 01:52:39 UTC

[PR] [cdc] Support per-table configuration for MySQL database CDC [paimon]

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

   ### Purpose
     - Add --table_conf_by_table for mysql_sync_database.
     - Allow source tables to override global --table_conf table properties.
     - Support per-table configuration in divided and combined modes.
     - Reject per-table sink/job runtime options such as sink.parallelism.
     - Document the new configuration and inheritance rules.
    
   ### Tests
     - Add parser unit tests for per-table configuration and duplicate keys.
     - Add validation test for rejecting per-table sink configuration.
     - Add MySQL CDC integration tests for divided and combined modes.
     - Add coverage for per-table overrides and global configuration inheritance.


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [cdc] Support per-table configuration for MySQL database CDC [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #9871:
URL: https://github.com/apache/paimon/pull/9871


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [cdc] Support per-table configuration for MySQL database CDC [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #9871:
URL: https://github.com/apache/paimon/pull/9871#issuecomment-5708355910

   Useful feature — per-table engine options remove the all-or-nothing `--table-conf` for database sync.
   
   One issue: `CdcActionCommonUtilsTest.testRejectSinkConfiguration()` is missing its `@Test` annotation, so it never runs. It covers exactly the new validation (rejecting per-table `sink.*` keys), so it should be executed.
   
   One behavior question: per-table keys that match no synchronized source table are silently accepted (`parseTableConfigByTable` just builds the map, and the override is looked up by exact table name). A typo such as `oder:bucket=8`, or a case mismatch, configures nothing with no signal at all. A warning listing unmatched keys (or validating against the discovered source tables) would save users a lot of debugging.
   


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org