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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to