mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-23 17:30:35 +00:00
Fix trino deleted tables & catalog as required (#4914)
* Catalog as required for SQLAlchemy * Use catalog properly for db name
This commit is contained in:
parent
a611338692
commit
ab50264ffa
@ -92,5 +92,5 @@
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": ["hostPort", "username"]
|
||||
"required": ["hostPort", "username", "catalog"]
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ class TrinoSource(SQLSource):
|
||||
schema_fqdn = get_fqdn(
|
||||
DatabaseSchema,
|
||||
self.config.serviceName,
|
||||
self.service_connection.database,
|
||||
self.service_connection.catalog,
|
||||
schema,
|
||||
)
|
||||
yield from self.delete_tables(schema_fqdn)
|
||||
|
Loading…
x
Reference in New Issue
Block a user