We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 751d6fe commit b751265Copy full SHA for b751265
sqlmesh/core/engine_adapter/bigquery.py
@@ -324,7 +324,8 @@ def _get_table(self, table_name: TableName) -> BigQueryTable:
324
Raises: `google.cloud.exceptions.NotFound` if the table does not exist.
325
"""
326
if isinstance(table_name, exp.Table):
327
- table_name = table_name.sql(dialect=self.dialect)
+ # the api doesn't support backticks, so we can't call exp.table_name or sql
328
+ table_name = ".".join(part.name for part in table_name.parts)
329
330
return self.client.get_table(table_name)
331
0 commit comments