fix(ingest/bigquery): Fixing double quoting in profiling approx count query (#7416)

This commit is contained in:
Tamas Nemeth 2023-02-24 09:39:52 +01:00 committed by GitHub
parent 95750317e1
commit 3a4c9a69f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ def get_column_unique_count_patch(self: SqlAlchemyDataset, column: str) -> int:
sa.select(
[
sa.text( # type:ignore
f"APPROX_COUNT_DISTINCT(`{sa.column(column)}`)"
f"APPROX_COUNT_DISTINCT(`{column}`)"
)
]
).select_from(self._table)