Hey,
I have a registration date field, due to a trouble in the BigQuery external table reading this field from the files, we set this field to be a string in BQ table schema.
When working with this table in Metabase, and setting this field type to be a date type it changes the field values in an inconsistent way (pic below) when some values are 27/09/2022 and some are February 10, 2022, 12:00 AM.
It won't allow me to group by or to create filters on this field
Any ideas on how can I work around this?
Thanks in advance!
Error:
400 Bad Request POST https://www.googleapis.com/bigquery/v2/projects/pdp-prod/queries { "code" : 400, "errors" : [ { "domain" : "global", "location" : "q", "locationType" : "parameter", "message" : "Invalid datetime string "06/10/2022"", "reason" : "invalidQuery" } ], "message" : "Invalid datetime string "06/10/2022"", "status" : "INVALID_ARGUMENT" }