File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 66
77import pandas as pd
88from sqlglot import exp , parse_one
9- from sqlglot .optimizer .qualify_columns import quote_identifiers
109
1110from sqlmesh .core .dialect import normalize_and_quote , normalize_model_name
1211from sqlmesh .core .engine_adapter import EngineAdapter
@@ -326,7 +325,7 @@ def resolve_identifier(self, relation: BaseRelation) -> t.Optional[str]:
326325 def _map_table_name (self , table : exp .Table ) -> exp .Table :
327326 # Use the default dialect since this is the dialect used to normalize and quote keys in the
328327 # mapping table.
329- name = quote_identifiers ( table , dialect = self . project_dialect ). sql ()
328+ name = table . sql (identify = True )
330329 physical_table_name = self .table_mapping .get (name )
331330 if not physical_table_name :
332331 return table
You can’t perform that action at this time.
0 commit comments