mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-24 17:59:52 +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,
|
"additionalProperties": false,
|
||||||
"required": ["hostPort", "username"]
|
"required": ["hostPort", "username", "catalog"]
|
||||||
}
|
}
|
||||||
|
@ -104,7 +104,7 @@ class TrinoSource(SQLSource):
|
|||||||
schema_fqdn = get_fqdn(
|
schema_fqdn = get_fqdn(
|
||||||
DatabaseSchema,
|
DatabaseSchema,
|
||||||
self.config.serviceName,
|
self.config.serviceName,
|
||||||
self.service_connection.database,
|
self.service_connection.catalog,
|
||||||
schema,
|
schema,
|
||||||
)
|
)
|
||||||
yield from self.delete_tables(schema_fqdn)
|
yield from self.delete_tables(schema_fqdn)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user