Skip to content

🐛 [Stream Firestore to BigQuery] fs-bq-import-collection doesn't recognize partitioned field #2092

@ysak-y

Description

@ysak-y

[REQUIRED] Step 2: Describe your configuration

  • Extension name: firestore-bigquery-export (storage-resize-images, firestore-send-email, etc)
  • Extension version: 0.1.49

[REQUIRED] Step 3: Describe the problem

When I install extension with following configuration, it creates BigQuery table with createdAt partitioned field.
スクリーンショット 2024-05-13 10 53 55

The important thing is its extension project id and BigQuery id is different (Cross-Platform BigQuery).

But When I run fs-bq-import-collection to backfill, it doesn't recognize any partitioned fields. The script shows following debug message.

{"severity":"WARNING","message":"Did not add partitioning to schema: Partitioning not enabled"}

Steps to reproduce:

Create Firestore table with createdAt TIMESTAMP field and Install extension with above configuration.

Expected result

fs-bq-import-collection recognize createdAt partition field and set it when importing.

Actual result

fs-bq-import-collection doesn't recognize createdAt partition field and set null to createAt field when importing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions