Skip to content
Advertisement

No table found for new bigquery table

I want to create a table then write to bigquery using a cloud function, but I dont want to duplicate the data in the tables so I deleted the table first then create the table each time I call the function.

JavaScript
JavaScript
JavaScript

So the error is when I deleted the table first the insertAll cannot find the table when it is recreated to write to I got this error: Table abc.abc_names not found

Advertisement

Answer

I suggest you avoid recreation of the table instead you can delete its content:

JavaScript

Also, you can check the below answer:

“Not found: Table” for new bigquery table

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement