-
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.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
table.insert_data currently only accepts tuples/lists in the order of the schema. It'd be a great feature allow lists of dictionaries to be passed.
Would expect cases where if the keys in the dictionary do not match the schema, it would return back an error.
FWIW, here's an example of how another python library handles it for a typical database connection:
https://github.com/pudo/dataset/blob/master/dataset/persistence/table.py#L62
domkck and nodirt
Metadata
Metadata
Assignees
Labels
api: bigqueryIssues related to the BigQuery API.Issues related to the BigQuery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.