Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.35 KB

trino-connector.md

File metadata and controls

32 lines (24 loc) · 1.35 KB
title slug keyword license
Apache Gravitino Trino connector
/trino-connector/trino-connector
gravitino connector trino
This software is licensed under the Apache License version 2.

Trino can manage and access data using the Trino connector provided by Apache Gravitino, commonly referred to as the Gravitino Trino connector. After configuring the Gravitino Trino connector in Trino, Trino can automatically load catalog metadata from Gravitino, allowing users to directly access these catalogs in Trino. Once integrated with Gravitino, Trino can operate on all Gravitino data without requiring additional configuration. The Gravitino Trino connector uses the Trino dynamic catalog managed mechanism to load catalogs. When the Gravitino Trino connector retrieves catalogs from the Gravitino server, it generates a CREATE CATAGLOG statement and executes the statement on the current Trino server to register the catalogs with Trino

:::note Once metadata such as catalogs are changed in Gravitino, Trino can update itself through Gravitino, this process usually takes about 3~10 seconds. :::

By default, the loading of Gravitino's catalogs into Trino follows the naming convention:

{catalog}

Usage in queries is as follows:

SELECT * from catalog.dbname.tablename