BigQuery can create an external table linked directly to a file sitting in Google Drive, most commonly a Google Sheet, without importing or copying the data anywhere. BigQuery reads the file in place each time the table is queried, so any edit made in the Sheet shows up the next time someone runs a query against it.
Incorporating files from Google Drive into BigQuery offers a streamlined pathway to leverage diverse data sources within Google’s comprehensive cloud ecosystem. This introduction elucidates the process of seamlessly integrating Drive files into BigQuery, highlighting the methods, considerations, and advantages inherent in this operation.
Google Drive serves as a robust cloud storage platform, facilitating collaboration and centralizing document management. BigQuery, on the other hand, is a powerful data analytics platform renowned for its scalability and performance. By bridging these platforms, users can harness the rich data stored in Drive for advanced analytics and insights generation.
The process of adding Drive files into BigQuery typically involves exporting the desired files from Drive to Google Cloud Storage in a compatible format, such as CSV or JSON. Subsequently, users can leverage BigQuery’s native functionality to ingest the data from Cloud Storage into BigQuery tables, enabling seamless integration with existing datasets and analytical workflows.
Open drive.google.com and click New.

Choose Google Sheets, then Blank Spreadsheet.
Google Sheets > Blank Spreadsheet.

Add a small sample dataset, such as a message and its language code.
Type the spreadsheet like below.

In an empty cell, use the GOOGLETRANSLATE function to generate a translated version of a message:
=GOOGLETRANSLATE(“source cell”, “written language”, “translation language”)

Replace the placeholder text with the actual cell references for your source message and target language.

Click outside the cell to confirm it.

Open the console, then go to BigQuery.
Go to Menu > Big Query > SQL Instances

Select your project.

Click Create Dataset.

Give it a dataset ID, then click Create Dataset.

It now appears listed under your project.

Click Create Table.

Choose Drive as the source.

Open your Google Sheet and copy its share link.

Paste it into the URI field, and set the file format to Google Sheets.

Give the table a name, switch to editing the schema as text, and define the columns to match your sheet, for example:
message:STRING
code:STRING
translation:STRING
Click Create Table.

In the query editor, write a query against the new table and click Run.

The results come back directly from the live data in the Sheet.

The single most common problem with a Drive linked external table is an error along the lines of permission denied while getting Drive credentials. This is not usually a BigQuery bug. BigQuery accesses the linked file by impersonating whoever originally set up the connection, so if that person loses access to the file, has it unshared with them, or leaves the organization, every query against the table can fail for everyone, not just that one person.
That covers linking a Google Drive file to BigQuery as an external table, and the permission issue most likely to break it later. To go further, explore Prwatech’s Google Cloud training program, which includes placement assistance.