mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-12 15:57:44 +00:00
fix: - in database/schema/table names (#24314)
Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
This commit is contained in:
parent
eed71ef302
commit
965bf57a36
@ -919,6 +919,7 @@ class DbtSource(DbtServiceSource):
|
||||
query_fqn = fqn._build( # pylint: disable=protected-access
|
||||
*source_elements[-3:]
|
||||
)
|
||||
query_fqn = ".".join([f'"{i}"' for i in query_fqn.split(".")])
|
||||
query = (
|
||||
f"create table {query_fqn} as {data_model_link.datamodel.sql.root}"
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user