Reputation: 173
I have a Firestore docuement like as like below and it is exported to Storage
Then, I have created a table for the document in Google BigQuery.
I have tried to write an update/insert query.
UPDATE `dataset.feed` set d_1.0 = "Imagelink"
also, tried to use UNNEST to breakdown the array by following the Firestore documentation. Still, I can't figure out how to write an update/insert for a document.
Upvotes: 1
Views: 109
Reputation: 10222
Array can only be updated as a whole:
UPDATE `dataset.feed` SET d_1 = ["t0", "t1"] WHERE ...
Upvotes: 0