I'm looking for a way to add description to an existing table attributes, is there any simple command line command such as "alter table zzz add description...." to to this?
You can add descriptions to tables and its fields through the web UI - that would be the simplest way.
Also via the API, using this document endpoint with the PATCH() methos:
https://cloud.google.com/bigquery/docs/reference/v2/tables
description
schema.fields[].description
The bq command line tool can be used too:
bq update --description "My table" existing_dataset.existing_table
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With