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

   ### What would you like to be improved?
   
   The View API guide links to a setup that creates `sales` as a Hive catalog. 
The Java and Python examples then create a Spark view with `defaultCatalog` and 
`defaultSchema` set, which Hive rejects with HTTP 400. The alter section lists 
`replaceView` but only demonstrates setting a property. [Current 
examples](https://github.com/apache/gravitino/blob/1c7623b898e57eb7901a4a738727aa68fb314a77/docs/manage-view-metadata-using-gravitino.md#L23-L185)
   
   ### How should we improve?
   
   Use an Iceberg catalog with view support to demonstrate the same view in 
REST, Java, and Python, including Spark and Trino SQL representations and a 
default catalog and schema. Link to the Iceberg setup and the provider-specific 
view requirements. In the Hive guide, include Spark in the rule that both 
defaults must be unset.
   
   Show how to update the view comment with `replaceView`, including the Java 
call that preserves the loaded columns, representations, and defaults.
   


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