Check stored dataset metadata when ingesting with --skip-existing
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 58/100
Hướng nghiên cứu
Start with the ref datasets ingest --skip-existing path and the calls to validate_data_catalog and register_dataset. Trace how incoming dataset-specific metadata is compared with the stored, database-coerced values, including streaming chunks. Done means mismatches follow the requested --skip-invalid or error behavior without overwriting stored metadata or retaining old file rows incorrectly.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
With ref datasets ingest --skip-existing, files already in the database are left out of the catalog before validate_data_catalog runs. A new file joining an existing dataset is then validated on its own, so if its dataset-specific metadata (eg. units) disagrees with the stored dataset, register_dataset overwrites the stored metadata and keeps the old file rows. A full ingest would flag the disagreement. Streaming ingest has the same gap when a dataset is split across chunks. One option is to compare incoming dataset-specific metadata with the stored row before registering, and treat a mismatch like a validation failure (dropped with --skip-invalid, otherwise an error). The comparison needs care because stored values are DB-coerced. Raised in https://github.com/Climate-REF/climate-ref/pull/968#discussion_r4319735983
- Ngôn ngữ chính
- Python
- Star
- 27
- Fork
- 14
- Merge trung bình
- 1 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 68
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Climate-REF/climate-ref
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Climate-REF/climate-ref#701 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Climate-REF/climate-ref#442 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Climate-REF/climate-ref#996 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Climate-REF/climate-ref#991 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Climate-REF/climate-ref#967 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Climate-REF/climate-ref
Issue tương tự
-
Link Checker ReportĐang mởautomated issue linkchecker report
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
QuantEcon/lecture-python.myst#1098 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
[Bug]: Processing errors missing from Docker logs due to incorrect console-handler detectionĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
podly-pure-podcasts/podly_pure_podcasts#279 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
New template proposal: ljpĐang mởtemplate-proposal
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
OpenShot/openshot-qt#6230 ·
Maintainer thường phản hồi trong vòng 1 ngày