【发布时间】:2017-10-02 14:15:54
【问题描述】:
我刚刚在 Big Query 中开始了我的 POC。我想知道如何更新/修改现有表中的列定义/模式。
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**
表架构:
最后修改的架构 Total Rows Total Bytes Expiration Time 分区标签
02 Oct 13:38:29 |- custid: 整数 0 0 |- grp: 整数 |- 日期:字符串
【问题讨论】:
标签: google-bigquery