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

   ### What would you like to be improved?
   
   The Flink connector currently supports views only for the Hive catalog. 
Iceberg and Paimon catalogs already implement `asViewCatalog()` on the server 
side, so view operations should be supported there as well.
   
   There is also a bug in `GravitinoPaimonCatalog.dropTable`: it calls 
`purgeTable` with no view fallback, so `DROP VIEW` on a Paimon catalog throws 
`TableNotExistException`.
   
   ### How should we improve?
   
   1. Fix `GravitinoPaimonCatalog.dropTable` to fall back to 
`asViewCatalog().dropView()` when `purgeTable` returns false.
   2. Add view integration tests for Iceberg (Hive + REST backends) and Paimon 
(Hive + JDBC backends).


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