bharos opened a new issue, #12129:
URL: https://github.com/apache/gravitino/issues/12129

   ### Describe the subtask
   
   Follow-up to #11574 / #12099. Add read-only **view** tools to the MCP server,
   following the established pattern (interface → plain REST client → FastMCP 
tool →
   mock → unit tests), with authorization enforced by Gravitino.
   
   Proposed tools:
   - `list_of_views(catalog, schema)` — `GET .../schemas/{schema}/views`
   - `load_view(catalog, schema, view)` — `GET 
.../schemas/{schema}/views/{view}`
   
   Scope: **read-only** (list/load). Create/alter/drop can be a later subtask.
   
   Unlike partitions (Hive-only), views are supported by **both** the Hive and 
the
   `lakehouse-iceberg` catalogs (`IcebergCatalog.asViewCatalog()` /
   `IcebergViewCatalogOperations`), so this is useful for Iceberg deployments 
too.
   The backend REST already exists (`ViewOperations`).
   
   ### Parent issue
   #11573
   
   I'd like to work on this one. cc @yuqi1129
   


-- 
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]

Reply via email to