firestoreからbigqueryへのexport手順

Nov 12, 2019 18:56 · 61 words · 1 minute read

gcsを介して行う

export from firestore

gcloud beta firestore export \
  gs://[BUCKET_NAME] \
  --collection-ids=[COLLECTION_ID_1],[COLLECTION_ID_2]

import to bigquery

bq --location=[LOCATION] load \
  --source_format=[FORMAT] \
  [DATASET].[TABLE] \
  [PATH_TO_SOURCE]
tweet Share