BigQuery: How can I change the type of one of my column from INTEGER to STRING?

后端 未结 1 1558
既然无缘
既然无缘 2021-01-18 15:07

In BigQuery, let say I have an existing table with X fields. Field 1 is currently an INTEGER but I would like to change it to a STRING.

I need to keep data that is

相关标签:
1条回答
  • 2021-01-18 15:26

    Steps 1-4 can all be done in a single atomic step. Just set a destination table on your query and use allow_large_results and use write_truncate to write your results back to the original table. This will update your table in place.

    0 讨论(0)
提交回复
热议问题