Is it possible to create a Table schema without first populating it with data? Preferably using Google's python client. Google's documentation does not seem to provide a clear yes or no answer. They suggest creating a table with a query, but this is both non-intuitive and again, not highly documented:
Possible to create BigQuery Table/Schema without populating with Data?
3.4k views Asked by Daniel Ternyak At
1
In python you can run an insert job on the tables API endpoint and that will create an empty table as it's documented here you need to supply a TableResource
**dataset_ref is a python trick to copy the contents to named arguments
Browse other python + bigquery questions.