mchades opened a new pull request, #10831: URL: https://github.com/apache/gravitino/pull/10831
### What changes were proposed in this pull request? Add the public Java API surface for Gravitino logical view management, as specified in `design-docs/gravitino-logical-view-management.md`. New types added in the `api/` module: - `View`: view metadata with columns, SQL representations, security mode, and a helper to look up a representation by dialect. - `ViewCatalog`: `listViews`, `createView`, `alterView`, `dropView` operations. - `ViewChange`: supported view mutations (rename, update comment, set/remove property, update SQL definition). - `SQLRepresentation` / `Representation`: multi-dialect view definition container. - `Dialects`: predefined dialect constants (`hive`, `trino`, `spark`, `flink`). - `SecurityMode`: `DEFINER` / `INVOKER` security mode enum. - `ViewAlreadyExistsException`: exception for duplicate view creation. ### Why are the changes needed? Fix: #10830 ### Does this PR introduce _any_ user-facing change? Yes. New public API interfaces and classes for view management. ### How was this change tested? API-only change; covered by downstream catalog integration tests in follow-up PRs. -- 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]
