🐛 [firestore-bigquery-export] deploys succeed with invalid partitioning configurations

Đang mở
#3,210 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
64/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
firebase, typescript
Lĩnh vực
cli, devops

Hướng nghiên cứu

Start with the firestore-bigquery-export deployment path and inspect how the TABLE_PARTITIONING, TIME_PARTITIONING_FIELD, TIME_PARTITIONING_FIELD_TYPE, and TIME_PARTITIONING_FIRESTORE_FIELD configurations are validated before deployment. Reproduce the two examples, then verify invalid configurations fail with a clear CLI error instead of requiring a search through cloud logs.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

type: bug

There are several invalid partitioning configurations which should fail to deploy. These instead deploy successfully and you have to search the function cloud logs to find the error, there is no error message present in the CLI.

Examples:

  • Setting
    TABLE_PARTITIONING=NONE
    TIME_PARTITIONING_FIELD=timestamp

  • Setting
    TABLE_PARTITIONING=DAY
    TIME_PARTITIONING_FIELD=timestamp
    TIME_PARTITIONING_FIELD_TYPE=omit
    TIME_PARTITIONING_FIRESTORE_FIELD=postDate

Ngôn ngữ chính
TypeScript
Star
979
Fork
436
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
18

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của firebase/extensions

Tất cả issue của firebase/extensions

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.