tests.system.google.cloud.gcs.example_firestore

示例 Airflow DAG,演示将数据从 Google Cloud Firestore 数据库导出到 Cloud Storage。

此示例在 Firestore 默认命名空间中创建集合,向集合中添加一些数据,然后将该数据库从 Cloud Firestore 导出到 Cloud Storage。接着,它在 Bigquery 中从导出的数据创建一张表,并检查数据是否存在于其中。

属性

ENV_ID

PROJECT_ID

DAG_ID

BUCKET_NAME

DATASET_NAME

EXPORT_DESTINATION_URL

EXPORT_COLLECTION_ID

EXTERNAL_TABLE_SOURCE_URI

DATASET_LOCATION

KEYS

create_bucket

test_run

模块内容

tests.system.google.cloud.gcs.example_firestore.ENV_ID[源码]
tests.system.google.cloud.gcs.example_firestore.PROJECT_ID[源码]
tests.system.google.cloud.gcs.example_firestore.DAG_ID = 'firestore_to_gcp'[源码]
tests.system.google.cloud.gcs.example_firestore.BUCKET_NAME = 'bucket_firestore_to_gcp_Uninferable'[源码]
tests.system.google.cloud.gcs.example_firestore.DATASET_NAME = ''[源码]
tests.system.google.cloud.gcs.example_firestore.EXPORT_DESTINATION_URL = 'gs://bucket_firestore_to_gcp_Uninferable/namespace'[源码]
tests.system.google.cloud.gcs.example_firestore.EXPORT_COLLECTION_ID = ''[源码]
tests.system.google.cloud.gcs.example_firestore.EXTERNAL_TABLE_SOURCE_URI[源码]
tests.system.google.cloud.gcs.example_firestore.DATASET_LOCATION = 'EU'[源码]
tests.system.google.cloud.gcs.example_firestore.KEYS[源码]
tests.system.google.cloud.gcs.example_firestore.create_bucket[源码]
tests.system.google.cloud.gcs.example_firestore.test_run[源码]

这条目有帮助吗?