I have a struct column in BigQuery called meta. Inside that field, I have a field called join_at which is currently in a FLOAT datatype and I'd like to change it to a TIMESTAMP datatype.
I tried running this query:
ALTER TABLE `my-table`
ALTER COLUMN meta.join_at SET DATA TYPE TIMESTAMP
That doesn't work. It throws an error at the "." character. So, apparently I can't just change the struct field like that.
What would be the correct approach in this case?