-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: bigqueryIssues related to the BigQuery API.Issues related to the BigQuery API.
Description
I want to get the schema of any tables in BigQuery in json format.
However, I cannot get the table schema of a table using the gcloud api. It just returns an empty list.
- Mac (OSX El Capitan) Version 10.11.6
- Anaconda Python 2.7.11 :: Continuum Analytics, Inc. in virtual environment
- google-cloud==0.20.0
- Code example
dataset = client.dataset(my_dataset)
table = dataset.table(my_table)
print table.schema- Output
[]
RomHartmann and RuijieZ
Metadata
Metadata
Assignees
Labels
api: bigqueryIssues related to the BigQuery API.Issues related to the BigQuery API.