/datastore2bigquery

Export Google Datastore to BigQuery

Primary LanguageShell

Export Google Datastore to BigQuery

See this screen recording on YouTube for the demo:

YouTube video

This script exports a Datastore kind to Cloud Storage, imports it into BigQuery and then deletes the Cloud Storage files.

Usage:

./datastore2bigquery.sh PROJECT KIND [BQDATASET]

Example:

./datastore2bigquery.sh code-cooking Food

This script requires the bq and gsutil gcloud components, so install those first if you haven't already:

gcloud components install bq gsutil