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

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   I am using Trino to connect to Gravitino Iceberg Rest Server backed by a 
Hive Metastore.
   The hive metastore can have native hive and iceberg tables both.
   
   Below is the error in Trino and similar error in Gravitino logs too " Unable 
to process: hive is not support view"
   
   
   ### Error message and/or stacktrace
   
   ```
   Caused by: org.apache.iceberg.exceptions.RESTException: Unable to process: 
hive is not support view
        at 
org.apache.iceberg.rest.ErrorHandlers$DefaultErrorHandler.accept(ErrorHandlers.java:224)
        at 
org.apache.iceberg.rest.ErrorHandlers$NamespaceErrorHandler.accept(ErrorHandlers.java:180)
        at 
org.apache.iceberg.rest.ErrorHandlers$NamespaceErrorHandler.accept(ErrorHandlers.java:166)
        at org.apache.iceberg.rest.HTTPClient.throwFailure(HTTPClient.java:211)
        at org.apache.iceberg.rest.HTTPClient.execute(HTTPClient.java:323)
        at org.apache.iceberg.rest.HTTPClient.execute(HTTPClient.java:262)
        at org.apache.iceberg.rest.HTTPClient.get(HTTPClient.java:358)
        at org.apache.iceberg.rest.RESTClient.get(RESTClient.java:96)
        at 
org.apache.iceberg.rest.RESTSessionCatalog.listViews(RESTSessionCatalog.java:1133)
        at 
io.trino.plugin.iceberg.catalog.rest.TrinoRestCatalog.lambda$listTables$3(TrinoRestCatalog.java:218)
        at 
io.trino.plugin.iceberg.catalog.rest.TrinoRestCatalog.listTableIdentifiers(TrinoRestCatalog.java:243)
        ... 49 more
   ```
   
   ### How to reproduce
   
   0.8.0
   
   ### Additional context
   
   _No response_


-- 
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: commits-unsubscr...@gravitino.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to