BigQuery: SchemaField cannot load resource with missing mode
property
#4456
Labels
api: bigquery
Issues related to the BigQuery API.
good first issue
This issue is a good place to started contributing to this repository.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The mode property is optional in the REST API, but this code fails:
I believe this is due to the line
which does not properly handle when the
mode
property is missing.Related to #3723 as it is often convenient to omit the mode parameter when defining a schema file by hand.
The text was updated successfully, but these errors were encountered: