mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-06 04:26:57 +00:00
Docs: Trino Reverse Metadata (#21997)
* docs: trino reverse metadata * fix: trino yaml for reverse metadata link * fix: added collate content
This commit is contained in:
parent
c8f94783ed
commit
6077e7348b
@ -0,0 +1,42 @@
|
||||
## Reverse Metadata
|
||||
|
||||
### Description Management
|
||||
|
||||
Trino supports description updates at the following level:
|
||||
- Table level
|
||||
|
||||
### Owner Management
|
||||
|
||||
❌ Owner management is not supported for Trino.
|
||||
|
||||
### Tag Management
|
||||
|
||||
❌ Tag management is not supported for Trino.
|
||||
|
||||
### Custom SQL Template
|
||||
|
||||
Trino supports custom SQL templates for metadata changes. The template is interpreted using python f-strings.
|
||||
|
||||
Here is an example of custom SQL query for metadata changes:
|
||||
|
||||
```sql
|
||||
-- Set table description
|
||||
COMMENT ON TABLE {catalog}.{schema}.{table} IS '{description}';
|
||||
```
|
||||
|
||||
The list of variables for custom SQL can be found [here](/connectors/ingestion/workflows/reverse-metadata#custom-sql-template).
|
||||
|
||||
For more details about reverse metadata ingestion, visit our [Reverse Metadata Documentation](/connectors/ingestion/workflows/reverse-metadata).
|
||||
|
||||
### Requirements for Reverse Metadata
|
||||
|
||||
In addition to the basic ingestion requirements, reverse metadata ingestion in Trino requires the user need:
|
||||
- a role with ownership privileges on the tables and views
|
||||
|
||||
```sql
|
||||
-- Grant ownership of the table to your Trino user role
|
||||
ALTER TABLE DATABASE_NAME.SCHEMA_NAME.TABLE_NAME SET AUTHORIZATION ROLE NEW_ROLE;
|
||||
|
||||
-- Grant ownership of the view to your Trino user role
|
||||
ALTER VIEW DATABASE_NAME.SCHEMA_NAME.VIEW_NAME SET AUTHORIZATION ROLE NEW_ROLE;
|
||||
```
|
||||
@ -7,7 +7,7 @@ slug: /connectors/database/trino
|
||||
name="Trino"
|
||||
stage="PROD"
|
||||
platform="OpenMetadata"
|
||||
availableFeatures=["Metadata", "Query Usage", "Data Profiler", "Data Quality", "Lineage", "Column-level Lineage", "dbt", "Sample Data"]
|
||||
availableFeatures=["Metadata", "Query Usage", "Data Profiler", "Data Quality", "Lineage", "Column-level Lineage", "dbt", "Sample Data", "Reverse Metadata (Collate Only)"]
|
||||
unavailableFeatures=["Owners", "Tags", "Stored Procedures"]
|
||||
/ %}
|
||||
|
||||
@ -22,6 +22,9 @@ Configure and schedule Trino metadata and profiler workflows from the OpenMetada
|
||||
- [Data Quality](/how-to-guides/data-quality-observability/quality)
|
||||
- [dbt Integration](/connectors/ingestion/workflows/dbt)
|
||||
- [Troubleshooting](/connectors/database/trino/troubleshooting)
|
||||
{% collateContent %}
|
||||
- [Reverse Metadata](#reverse-metadata)
|
||||
{% /collateContent %}
|
||||
|
||||
{% partial file="/v1.8/connectors/ingestion-modes-tiles.md" variables={yamlPath: "/connectors/database/trino/yaml"} /%}
|
||||
|
||||
@ -116,4 +119,8 @@ Find more details in [the Python requests library documentation](https://request
|
||||
|
||||
{% /stepsContainer %}
|
||||
|
||||
{% collateContent %}
|
||||
{% partial file="/v1.8/connectors/database/trino/reverse-metadata.md" /%}
|
||||
{% /collateContent %}
|
||||
|
||||
{% partial file="/v1.8/connectors/database/related.md" /%}
|
||||
|
||||
@ -7,7 +7,7 @@ slug: /connectors/database/trino/yaml
|
||||
name="Trino"
|
||||
stage="PROD"
|
||||
platform="OpenMetadata"
|
||||
availableFeatures=["Metadata", "Query Usage", "Data Profiler", "Data Quality", "Lineage", "Column-level Lineage", "dbt", "Sample Data"]
|
||||
availableFeatures=["Metadata", "Query Usage", "Data Profiler", "Data Quality", "Lineage", "Column-level Lineage", "dbt", "Sample Data", "Reverse Metadata (Collate Only)"]
|
||||
unavailableFeatures=["Owners", "Tags", "Stored Procedures"]
|
||||
/ %}
|
||||
|
||||
@ -20,6 +20,9 @@ Configure and schedule Trino metadata and profiler workflows from the OpenMetada
|
||||
- [Data Profiler](#data-profiler)
|
||||
- [Data Quality](#data-quality)
|
||||
- [dbt Integration](#dbt-integration)
|
||||
{% collateContent %}
|
||||
- [Reverse Metadata](/connectors/ingestion/workflows/reverse-metadata)
|
||||
{% /collateContent %}
|
||||
|
||||
{% partial file="/v1.8/connectors/external-ingestion-deployment.md" /%}
|
||||
|
||||
|
||||
@ -29,6 +29,7 @@ Reverse Metadata uses the existing service connection configuration provided dur
|
||||
| Redshift | ✅ | ❌ | ✅ (Database, Schema, Table) | ✅ | [Link](/connectors/database/redshift#reverse-metadata) |
|
||||
| Snowflake | ✅ | ✅ (Schema, Table, Column) | ❌ | ✅ | [Link](/connectors/database/snowflake#reverse-metadata) |
|
||||
| Unity Catalog | ✅ | ✅ | ✅ (Database, Schema, Table) | ✅ | [Link](/connectors/database/unity-catalog#reverse-metadata) |
|
||||
| Trino | ✅ (Table) | ❌ | ❌ | ✅ | [Link](/connectors/database/trino#reverse-metadata) |
|
||||
|
||||
## Key Features
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user