I was trying to do BQ upload from Alteryx and for some reasons the field type would become “string” for “date” fields after it’s uploaded. The dates in Alteryx flow are in “Date” type and the date format is in yyyy-mm-dd.

I ran some SQL to convert date from string to date in BQ, and tried both “Overwrite Table” and “Delete Data & Append” (thought append would not change the field type) as my output options, but they both will overwrite the BQ table and change date to string fields. I also made sure the column orders are the same, but it doesn’t help. See below my output config.

After I ran SQL in BQ -

After running the flow with output config shown above..

Any way we can solve this issue, so I don’t need to run SQL in BQ every time I update the table? Thanks!!