det101 opened a new pull request, #11417: URL: https://github.com/apache/seatunnel/pull/11417
## Purpose Extend JDBC sink `table_options` (SaveMode auto-create) to PostgreSQL, as a follow-up to #11047 / #11101 / #11388. ## Changes - Add PostgreSQL curated key whitelist: `tablespace`, `fillfactor` - Wire `PostgresDialect.validateTableOptions` and apply options in `PostgresCreateTableSqlBuilder` DDL (`WITH (fillfactor=...)` / `TABLESPACE "..."`) - OpenGauss and HighGo inherit the same path via Postgres catalog/dialect - Docs (en/zh): support matrix + dialect caveats + PostgreSQL example - Unit tests: dialect / DDL / OptionRule coverage ## Non-goals - Arbitrary `WITH (...)` parameters, `USING`, partition / `INHERITS` - `ALTER TABLE` on existing tables (`table_options` only applies when SaveMode creates the table) - Value-level validation beyond key whitelist (same as MySQL delivery) - Oracle (separate PR: #11416) ## Test plan - [x] `PostgresDialectTableOptionsTest` - [x] `PostgresCreateTableSqlBuilderTest#testBuildCreateTableSqlWithTableOptions` - [x] `JdbcTableOptionsConditionExtensionTest` (PostgreSQL pass / unknown-key reject) - [x] `PostgresDialectTest` (regression) - [ ] CI on this PR ## Related - Issue: #11047 - MySQL: #11101 - TiDB / OceanBase MySQL: #11388 - Oracle: #11416 - StarRocks: #11242 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]
