Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 2907d15

Browse files
authored
Merge pull request #77 from datafold/fix_bigquery_table_name
Fix for BigQuery: Table-name no longer needs dataset, takes it from URI
2 parents fab3985 + e7bd98a commit 2907d15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data_diff/sql.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ class TableName(Sql):
4646
name: DbPath
4747

4848
def compile(self, c: Compiler):
49-
return ".".join(map(c.quote, self.name))
49+
path = c.database._normalize_table_path(self.name)
50+
return ".".join(map(c.quote, path))
5051

5152

5253
@dataclass

0 commit comments

Comments
 (0)