Tag: sql
Export BigQuery table to Google Cloud Storage
A code example for how to write BigQuery SQL to export a table to Google Cloud Storage in csv and parquet file formats. Parquet CSV
Using SQL in Google Sheets
SQL is a great language for analysing and slicing and dicing data. The folks at Google who build Google Sheets appreciate this too. So much so that they have built …
Execute queries in BigQuery in parallel using python
An example of how to run multiple queries in parallel.
Simple logging to SQLite database from python
A lightweight example of saving some logs to an SQLite database in a python script.
From email to data warehouse – Google Edition
Use the Google technology stack to automatically load csv files received over email into BigQuery. In the data world, sending data over email is something that has been around for …
Running SQL Queries on a schedule in BigQuery | Part 1: Scheduled Queries
A short walkthrough guide of setting up a scheduled query in BigQuery. The Google documentation for scheduled queries is here. Step 1: Create a query in the bigQuery interface that …
Query Google Sheets from BigQuery
Important and valuable data is often kept in Google Sheets. Learn how to make use of this data from within BigQuery in this post. Google sheets is a very useful …