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

Enhancement: Filter WebAPI results based upon created or modified date

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
api, backend

調査の方向性

まず、cohortdefinition、conceptset、estimation、ir エンドポイントの GET ハンドラー(cohortdefinition/{id}/info エンドポイントを含む)を見つけます。各エンドポイントが現在どの日付フィールドを選択しているかを確認し、次に afterdate リクエストの動作を定義して、フィルタリングされた結果に指定された日付より後のレコードだけが含まれることを検証します。

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

説明

Desired behavior

API calls that return large JSON objects can be filtered to just retrieve values since a specific date.
For example:

  1. cohortdefinition - where coalesce(modifiedDate,createdDate) > 'YYYY-MM-DD'
  2. cohortdefinition/{id}/info - where startTime > 'YYYY-MM-DD'
  3. conceptset - where coalesce(modifiedDate,createdDate) > 'YYYY-MM-DD'
  4. estimation - where coalesce(modifiedDate,createdDate) > 'YYYY-MM-DD'
  5. ir - where coalesce(modifiedDate,createdDate) > 'YYYY-MM-DD'
Actual behavior

Although the APIs work OK as-is, they do not lend themselves to incremental loads. As the data volume grows, this becomes increasingly burdensome.

Enhancement Request

Add afterdate option to relevant GET requests to return just the subset of the results where the start/modified/created dates are after the specified date.

主要言語
Java
スター
153
フォーク
187
平均マージ
2日 12時間
マージ済み PR(30日)
13

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

OHDSI/WebAPI のほかの issue

OHDSI/WebAPI の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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