We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b1f149 commit 7945194Copy full SHA for 7945194
bigquery/google/cloud/bigquery/table.py
@@ -928,7 +928,9 @@ def upload_from_file(self,
928
929
if len(self._schema) > 0:
930
load_config = metadata['configuration']['load']
931
- load_config['schema'] = _build_schema_resource(self._schema)
+ load_config['schema'] = {
932
+ 'fields': _build_schema_resource(self._schema)
933
+ }
934
935
_configure_job_metadata(metadata, allow_jagged_rows,
936
allow_quoted_newlines, create_disposition,
0 commit comments