fix(BigQuery): Support special characters in column/metric names used in ORDER BY (#26461)

(cherry picked from commit 4592dd13fa)
This commit is contained in:
Vitor Avila
2024-01-24 00:26:53 -03:00
committed by Michael S. Molina
parent 31680e3f61
commit a2c78c1495
2 changed files with 4 additions and 2 deletions

View File

@@ -381,4 +381,4 @@ class TestBigQueryDbEngineSpec(TestDbEngineSpec):
"orderby": [["gender_cc", True]],
}
sql = table.get_query_str(query_obj)
assert "ORDER BY gender_cc ASC" in sql
assert "ORDER BY `gender_cc` ASC" in sql