How to change a column type of a BigQuery table by querying and exporting to itself?

Viewed 30391

I have a integer type column in my BigQuery table and now I need to convert it to a float column. I also have to keep all records. What I want to do is changing the column type. Not casting.

I've read that it's possible to do it just by exporting results of a query on a table to itself.

How to do it?

1 Answers
Related