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.
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?
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.
You canât filter columns directly in the import config, but one workaround is to use a separate tab with only the needed columns and import that. This article explains different ways to load data into BigQuery, and might give you a few ideas - (URL Removed by Staff)
Yes, you are right. BigQuery does not allow directly importing specific columns from a Google sheet or Google Drive URL.
A common workaround is to import the full sheet from the staging table. Next, use a scheduled query to select the needed columns into your final table. The results? You get a clean and efficient pipeline.
To simplify this further, you can use automated ETL tools like Windsor.ai. It helps you manage spreadsheet imports, data transformations, and scheduling through an easy-to-use interface. Plus, it automates repetitive workflows while keeping everything version-controlled and centralized, reducing manual effort and errors.