dboshardy
dboshardy

Reputation: 522

Big Query insertAll() only inserting last row

I'm trying to insert rows into a table in Big Query using the Node package called bigquery which acts as a wrapper around the BQ API itself and uses the insertAll() API call.

However, when loading an array of more than one item, only the last item in the array is actually inserted into the table.

Upvotes: 1

Views: 646

Answers (1)

dboshardy
dboshardy

Reputation: 522

Of course, actually asking the question has allowed me to solve it myself. I was posting rows with identical insertIds, causing all but one to be ignored.

Upvotes: 1

Related Questions