kevinw66 opened a new pull request, #12117: URL: https://github.com/apache/gravitino/pull/12117
### What changes were proposed in this pull request? - Extend `RelationalCatalog` with `ViewCatalog`. - Add `as_view_catalog`, `create_view`, and `drop_view`. - Add request and response DTOs for view creation. - Add view-specific REST error handling. - Generalize the entity namespace helper for table and view operations. - Add corresponding unit and integration tests. ### Why are the changes needed? The Python client currently lacks support for view create/drop operations. These changes allow users to create and drop views through the Python client. Fix: #12116 ### Does this PR introduce _any_ user-facing change? Yes. Python client users can now create and drop views through `RelationalCatalog.as_view_catalog()`. ### How was this patch tested? Added unit tests for request and response validation, REST error handling, and view create/drop operations. Added integration tests covering view creation, duplicate creation, view deletion, and deletion of nonexistent views. -- 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]
