I have just started my POC in Big Query. I would like to know how to update/modify the column definition/schema in an existing table.
bq mk -t market.cust custid:integer,grp:integer,odate:string bq update -t market.cust custid:string,grp:integer,odate:string
**Error:
spanda2040@instance-3:~/data$ bq update -t market.cust custid:string,grp:integer,odate:string
BigQuery error in update operation: Provided Schema does not match Table arboreal-height-175822:market.cust. Field custid has changed type from INTEGER to STRING**
Table Schema:
Last modified Schema Total Rows Total Bytes Expiration Time Partitioning Labels
02 Oct 13:38:29 |- custid: integer 0 0 |- grp: integer |- odate: string
vote on answer
. Vote up answers that are helpful. ... You can check about what to do when someone answers your question - stackoverflow.com/help/someone-answers. Following these simple rules you increase your own reputation score and at the same time you keep us motivated to answer your questions :o) please consider! - Mikhail Berlyant