diqiu50 opened a new pull request, #11189:
URL: https://github.com/apache/gravitino/pull/11189
### What changes were proposed in this pull request?
Route Flink SQL view operations (CREATE/DROP/ALTER/LIST VIEW) through
Gravitino's `ViewCatalog` API in `BaseCatalog`. Any Gravitino catalog
that implements `ViewCatalog` gets view support automatically.
### Why are the changes needed?
Fix: #11187
### Does this PR introduce _any_ user-facing change?
Yes — users can now use `CREATE VIEW`, `DROP VIEW`, `ALTER VIEW`,
`SHOW VIEWS`, and `SELECT` from views via Flink SQL on Gravitino catalogs.
### How was this patch tested?
- Unit tests: `TestBaseCatalog` — listViews, view change conversion
- Integration tests: 9 new cases in `FlinkHiveCatalogIT` covering
create, list, drop, rename, replace body, query, and idempotency
--
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]