green-honey-91903
10/02/2022, 7:11 PMSQL compilation error: syntax error line 1 at position 29 unexpected 'START'. syntax error line 1 at position 28 unexpected '('.
SELECT APPROX_COUNT_DISTINCT(START)
FROM "SURVEYMONKEY"."FIVETRAN_AUDIT"
I believe the issue is that START
is a column in FIVETRAN_AUDIT
tables and START
is also a reserved snowflake keyword. The solution at the query level is to wrap the reserved keyword in quotes APPROX_COUNT_DISTINCT("START")
.
Since datahub is executing these queries, should this be fixed within datahub? the tables themselves are fivetran-service tables so i believe there’s no ability to map/rename these columns. Has any1 else ran into this? I’m on the latest datahub via a helm/k8s deployment.green-honey-91903
10/02/2022, 7:56 PMhundreds-photographer-13496
10/03/2022, 10:27 AMgreen-honey-91903
10/03/2022, 3:55 PMgray-shoe-75895
10/03/2022, 9:31 PMgreen-honey-91903
10/03/2022, 9:34 PM