QuakeWang opened a new pull request, #625: URL: https://github.com/apache/paimon-rust/pull/625
### Purpose DataFusion SQL supports adding, dropping, and renaming columns, but rejects `ALTER COLUMN` even though the core schema layer already supports type and nullability changes. This change exposes the existing schema evolution capabilities through SQL while preserving schema and primary-key index consistency. ### Brief change log - Support `ALTER COLUMN ... TYPE` and `SET DATA TYPE`. - Support `SET NOT NULL` and `DROP NOT NULL`. - Preserve existing nullability for type-only changes. - Reject unsupported conversion expressions and non-atomic mixed ALTER operations. - Prevent destructive changes to primary-key vector and full-text index columns. ### Tests - Added SQL mapping and validation unit tests. - Added a filesystem catalog integration test. - Added primary-key index schema guard tests. - Passed formatting, Clippy, and affected test suites. ### API and Format Adds DataFusion SQL DDL support. No storage format changes. ### Documentation Updated the supported SQL statement list. -- 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]
