mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-25 09:00:50 +00:00
fix(ingest/bigquery): Fixing double quoting in profiling approx count query (#7416)
This commit is contained in:
parent
95750317e1
commit
3a4c9a69f6
@ -124,7 +124,7 @@ def get_column_unique_count_patch(self: SqlAlchemyDataset, column: str) -> int:
|
|||||||
sa.select(
|
sa.select(
|
||||||
[
|
[
|
||||||
sa.text( # type:ignore
|
sa.text( # type:ignore
|
||||||
f"APPROX_COUNT_DISTINCT(`{sa.column(column)}`)"
|
f"APPROX_COUNT_DISTINCT(`{column}`)"
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
).select_from(self._table)
|
).select_from(self._table)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user