YannByron opened a new pull request, #7625: URL: https://github.com/apache/paimon/pull/7625
## Summary - Previously, creating a view with column aliases or comments threw `UnsupportedOperationException`. - This change applies column aliases and comments to the view schema before persisting, enabling SQL like `CREATE VIEW v (col1 COMMENT 'desc', col2) AS SELECT ...`. - Added `applyColumnAliasesAndComments` method in `CreatePaimonViewExec` to handle alias renaming and comment attachment on `StructField`. ## Test plan - [x] Added test: `Paimon View: create view with column comments` - [x] Added test: `Paimon View: create view with column aliases` - [x] Added test: `Paimon View: create view with column aliases and comments` - [x] All 13 PaimonViewTest cases passed (Spark 3.4) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
