Hi
I am importing a table into a BigQuery Dataset from a Google Sheet, using the URL from Google Drive.
Is there a way to import only certain columns from the google sheet and not all of them? There are more columns in the sheet than I need in the BigQuery Table. I need to use the google sheet as a datasource as this is being populated from Netsuite and I need to set up a Schedule within BigQuery to pull in the new data.
Any advice or guidance will be most welcomed.
Many Thanks
Solved! Go to Solution.
Hi @DataDave,
You can achieve this by setting the Sheet Range when creating a table in your dataset.
Let me guide you with a quick walk-through:
Set your destination Project, Dataset and Table
You can now run a basic query against the imported table, external data source limitations apply.
I hope these steps helped you.
Usable resource:
- Create external tables
Hi @DataDave,
You can achieve this by setting the Sheet Range when creating a table in your dataset.
Let me guide you with a quick walk-through:
Set your destination Project, Dataset and Table
You can now run a basic query against the imported table, external data source limitations apply.
I hope these steps helped you.
Usable resource:
- Create external tables
will this table in Bigquery being updated when the spreadsheet is updated?
Yes, nearly realtime.
Hi guys
Is it possible to specify more than one range like "Sheet1!A:C;Sheet1!G:K"?
Thanx
Is it mandatory to specify the column and row range or can you just specify the sheet name?
When a bigQuery table uses a google sheet as source, we can't preview data as if the data were actually not stored in BQ. It's only visible through a query. Is there a way to have data actually loaded into bigQuery and keep the connection with the spreadsheet in case it is updated? I have software connecting to such a bigQuery table to access the data but it can retrieve any data. Thank you for your help!
Hello ! I have created a table imported from the google sheets and it successfully created. However, I want to know why I don't have a preview on it?
Hello,
You can go to the BigQuery console, navigate to your dataset --> click on the Create table --> set Create table from to Drive --> paste the URL of your Google Sheet in the Select Drive URI field. For File Format, choose Google Sheet. In the Sheet Range field, specify the columns you want to import.
Alternatively, if you need a kind of automation you can use 3rd party tools like Skyvia. This one supports more than 200 connectors, including Netsuite, and allows to easily integrate data between BigQuery and Google Sheets, or directly between BigQuery and NetSuite with no coding. You can integrate just specific columns and even apply filtering, if needed.
I hope it helps you to solve your issue!
Hi @DataDave ,
With the Cooltables add-on for Google Sheets, you can achieve this in 3 clicks:
Other parameters will be auto-detected, including:
To get the add-on, open the Google Sheets Extensions menu. Select "Get add-ons" and search for "Cooltables".
I hope this will be useful.