Closed james-d-f closed 4 years ago
This seems to be resolved by reverting to commit: 77eae5b8582f8ea638f4f4c0b6b446015a620502
Suggesting that the error comes from the commit: Changed report columns to safe_cast
Unless it resolved itself for other uncorrelated reasons.
@mattlynam were you able to test a new setup since making that commit?
I got the same issue, will now try to run with an older version of queries/create_table.sql as suggested by james
Thanks for the feedback. I wasn't able to replicate this issue on multiple clean setups, but obviously it is an issue, so I'll look into it more and try release a fix soon.
Hopefully this is now resolved with the latest commit. I fixed the Reports table schema, to guarantee field type, and swapped the REGEXP_REPLACE, with REPLACE, that was resulting in errors due to mismatched types
Thanks mattlynam, the errors have disappeared after a new deploy.
I hope if is ok to raise a support issue here.
I am getting a repeated issue setting this up for our clients due to a failure in create_bq_table.
I have tried starting the setup from the beginning and seem to run into the same issue.
My BigQuery dataset contains the tables, but not the views. The Reports table's Date field has type Date. The error seems to be due to REGEXREPLACE expecting this field to be a String.
Error: