diqiu50 opened a new pull request, #12294:
URL: https://github.com/apache/gravitino/pull/12294

   ### What changes were proposed in this pull request?
   Store and read Trino dialect views in the Hive catalog using Trino's own 
native "Presto View" Hive Metastore encoding (via a new 
`TrinoNativeViewCodec`), instead of the previous custom marker/prefix-based 
encoding.
   
   ### Why are the changes needed?
   So Hive-backed views created through Gravitino are interoperable with a 
native Trino/Presto Hive connector pointed at the same Hive Metastore, and vice 
versa. This is the catalog-side (non-Trino-connector) portion of #11926, split 
out for independent review.
   
   ### Does this PR introduce _any_ user-facing change?
   No behavior change for existing non-Trino views; Trino dialect views stored 
via the Hive catalog now use Trino's native encoding format.
   
   ### How was this patch tested?
   Existing and new unit tests in `catalog-hive` (`TestHiveCatalogOperations`, 
`TestTrinoNativeViewCodec`).


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