Boolean fields missing from fieldTypeMap
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 74/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- typescript
- 領域
- frontend
調査の方向性
src/utils/index.ts から始めて、fieldTypeMap と _field_caps の型をフィールドピッカーにマッピングするコードを調べます。boolean の処理を追加し、フィルター演算子の選択が boolean 値を文字列として受け取るかどうかを確認します。boolean フィールドが期待される型になり、型でフィルターされたピッカーと autocomplete の候補に表示され、フィルター選択で正しく処理されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
Quickwit's _field_caps endpoint reports boolean fields as type boolean, but the plugin's fieldTypeMap in src/utils/index.ts does not include a boolean entry. This means:
- Boolean fields get
type: undefinedwhen mapped throughfieldTypeMap - They are excluded from type-filtered field pickers (e.g. when the query editor requests "number" or "string" fields)
- They may not appear in autocomplete suggestions
Scope
In our OTEL log index, there are 157 boolean fields (dynamic JSON subfields). These are fields like attributes.attr.command.ignoreUnknownIndexOptions that have boolean values in the indexed JSON documents.
Fix
Add boolean to fieldTypeMap:
export const fieldTypeMap: Record<string, string> = {
// ... existing entries ...
boolean: 'boolean',
};
May also need to handle boolean in filter operator selection if Grafana passes boolean values as strings.
- 主要言語
- TypeScript
- スター
- 76
- フォーク
- 45
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
quickwit-oss/quickwit-datasource のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
A failed request is returned under the refId `__queryDataError`, so Grafana alerting reads "no data"オープン
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
Missing or malformed log fields for entries fetched by Grafana's "Scroll to load more" functionalityオープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
quickwit-oss/quickwit-datasource の issue をすべて見る
似ている issue
-
bug from-app needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nightly-labs/openbot#18462 ·
メンテナーはふだん 1 日以内に返信
-
Fast and light shell approval "Always allow" button shows raw English backticks and scrambles commands in Arabic対応中かも @tylerbea が今日担当しました。 オープンagent-ui bug p3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
[Bug] Windows: Ctrl+C / Ctrl+V not working in chat input box対応中かも @PranavTJ-05 が今日担当しました。 オープンcomp/desktop desktop/chat desktop/shell os/windows P2 type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
NousResearch/hermes-agent#161023 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
resources
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
railmapgen/rmg-templates#2703 ·
メンテナーはふだん 1 日以内に返信
-
TypeScript OSS: `huggingfaceBaseUrl` is dropped by config validation, so the documented HuggingFace embedder example throws対応中かも @jaisogani-ai が今日担当しました。 オープンbug sdk-typescript
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信