datastore2bigquery
datastore2bigquery copied to clipboard
Export Google Datastore to BigQuery
Export Google Datastore to BigQuery
See this screen recording on YouTube for the demo:
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
