You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "det101 (via GitHub)" <gi...@apache.org> on 2026/07/13 02:32:16 UTC

[PR] [Feature][Connector-V2] Support table_options for Paimon sink SaveMode auto-create [seatunnel]

det101 opened a new pull request, #11418:
URL: https://github.com/apache/seatunnel/pull/11418

   ## Purpose
   Add Paimon sink `table_options` for SaveMode auto-create, as a follow-up to #11047 / #11242.
   
   ## Changes
   - Merge sink `table_options` into effective `paimon.table.write-props` in `PaimonSinkConfig` (write-props wins on key conflict)
   - Open-key validation via OptionRule ConditionExtension: reject blank keys / null values at job submission
   - Wire `TABLE_OPTIONS` into `PaimonSinkFactory` / `PaimonCatalogFactory`
   - Docs (en/zh): merge semantics, precedence, auto-create-only scope
   - Unit tests: merge priority, OptionRule, blank-key / null-value reject
   
   ## Non-goals
   - Key allowlist (Paimon CoreOptions are open; invalid keys fail when Paimon creates the table)
   - `ALTER` on existing tables (`table_options` only applies when SaveMode creates the table)
   - Changing `SchemaUtil` create path (already consumes `getWriteProps()`)
   
   ## Test plan
   - [x] `PaimonSinkConfigTableOptionsTest`
   - [x] `PaimonTableOptionsConditionExtensionTest`
   - [x] `PaimonOptionRuleTest` (declares `table_options`)
   - [ ] CI on this PR
   
   ## Related
   - Issue: #11047
   - StarRocks: #11242
   - JDBC MySQL: #11101
   - TiDB / OceanBase MySQL: #11388
   - Oracle: #11416
   - PostgreSQL: #11417
   
   
   Made with [Cursor](https://cursor.com)


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [PR] [Feature][Connector-V2] Support table_options for Paimon sink SaveMode auto-create [seatunnel]

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


-- 
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: commits-unsubscribe@seatunnel.apache.org

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


Re: [PR] [Feature][Connector-V2] Support table_options for Paimon sink SaveMode auto-create [seatunnel]

Posted by "det101 (via GitHub)" <gi...@apache.org>.
det101 closed pull request #11418: [Feature][Connector-V2] Support table_options for Paimon sink SaveMode auto-create
URL: https://github.com/apache/seatunnel/pull/11418


-- 
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: commits-unsubscribe@seatunnel.apache.org

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