mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-04 19:44:58 +00:00
30 lines
856 B
Markdown
30 lines
856 B
Markdown
|
|
## Reverse Metadata
|
||
|
|
|
||
|
|
### Description Management
|
||
|
|
|
||
|
|
Athena supports description updates at the following level:
|
||
|
|
- Table level
|
||
|
|
|
||
|
|
### Owner Management
|
||
|
|
|
||
|
|
❌ Owner management is not supported for Athena.
|
||
|
|
|
||
|
|
### Tag Management
|
||
|
|
|
||
|
|
❌ Tag management is not supported for Athena.
|
||
|
|
|
||
|
|
### Custom SQL Template
|
||
|
|
|
||
|
|
Athena supports custom SQL templates for metadata changes. The template is interpreted using python f-strings.
|
||
|
|
|
||
|
|
Here are examples of custom SQL queries for metadata changes:
|
||
|
|
|
||
|
|
```sql
|
||
|
|
-- Update table description
|
||
|
|
ALTER TABLE {schema}.{table} SET TBLPROPERTIES ('comment' = {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).
|