fix: - in database/schema/table names (#24314)

Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
This commit is contained in:
Keshav Mohta 2025-11-19 10:51:52 +05:30 committed by GitHub
parent eed71ef302
commit 965bf57a36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}"
)