google bigquery - Alter table or select/copy to new table with new columns -
i have huge bq table complex schema (lots of repeated , record fields). there way me add more columns table and/or create select copy the entire table new 1 addition of 1 (or more) columns? appears if copying table requires flattening of repeated columns (not good). need exact copy of original table new columns.
i found way update table schema looks rather limited can seem add nullable or repeated columns. can't add record columns or remove anything.
if modify import json data (and schema) import anything. import data huge , conveniently in denormalized gzipped json changing seems huge effort.
if want use query copy table, don't want nested , repeated fields flattened, can set flattenresults
parameter false preserve structure of output schema.
Comments
Post a Comment