Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Check stored dataset metadata when ingesting with --skip-existing

オープン
#970 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
58/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, sql
領域
cli, data, databases

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
27
フォーク
14
平均マージ
1日 19時間
マージ済み PR(30日)
39

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Climate-REF/climate-ref のほかの issue

Climate-REF/climate-ref の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。