1
votes

I have a question regarding refreshing google big query table where the data source is google drive.

Imagine, you have CSV file on google drive and every day someone updates for you. 1. The filename is not changing 2. location URI is same

How can I refresh my big query table by using this google drive file?

Could you please guide me or send me related links?

Thanks

1
Would suggest you start with a thorough read of the official documentation on loading data into BigQuery as this will introduce you to several approaches which could be used to do this: cloud.google.com/bigquery/docs/loading-data - Ben P
You can also directly query the data in google drive provided that the performance is OK for you: cloud.google.com/bigquery/external-data-drive - Y Y

1 Answers

0
votes

From the BigQuery docs:

Loading data into BigQuery from Google Drive is not currently supported, but you can query data in Google Drive using an external table.

The link above provides instructions on how to create an external table that references your stored-in-Drive data source. Considering that you want to be querying data from a Google Drive file which you will be updating in Drive, this is the solution you are looking for (in contrast to downloading your csv locally and then loading it into BQ, in which case you would then have to be updating directly in BQ).