add row to BQ from a dictionary #3368
Labels
api: bigquery
Issues related to the BigQuery API.
type: question
Request for information or clarification. Not an issue.
I am having trouble inserting a single JSON row into a BQ table from the API. I can get it done with bq-command-line or using
table.upload_from_file()
method. But when i am trying to do it withtable.insert_data(json_dic)
the method takes everything in the dictionary as a value instead of insert every value in the corresponding key of the table.There is a way of insert a json object without passing it as a file, or declare the schema (witch is huge and can change)?
Thank you very much
The text was updated successfully, but these errors were encountered: