A data-mapped scalar aesthetic on boxplot / violin is dropped by the stat, then fails validation
メンテナーはふだん 6 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 50/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- rust
調査の方向性
boxplot と violin の stat から始め、スカラー aesthetic とグルーピング aesthetic が stat 後の検証にどのように渡されるかを追跡します。penguins クエリを再現し、sex AS fill のコントロールと比較します。スカラー aesthetic が stat 後に失敗しなくなるか、エラーが内部列を公開せずにサポートされる制約を明確に示せば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
The boxplot / violin stat drops non-grouping aesthetic columns from its output, so a mapped scalar aesthetic fails validation after the stat has run, with an error that names an internal column list. Grouping aesthetics (fill, stroke) survive because they partition the summary; scalar ones (linewidth, size, linetype, opacity) do not.
Reproduction
VISUALISE species AS x, body_mass AS y, bill_len AS linewidth FROM ggsql:penguins
DRAW boxplot
Failed to generate Vega-Lite output: Validation error: Column 'linewidth' referenced in
aesthetic 'linewidth' (layer 1 (global data)) does not exist.
Available columns: __ggsql_aes_pos1__, __ggsql_aes_type__, __ggsql_aes_pos2__, and __ggsql_aes_pos2end__
Control — the same query with sex AS fill renders fine.
Expected
Either carry a scalar aesthetic through the stat (it is constant within a group whenever it is part of the grouping, and otherwise needs a documented aggregate), or fail with an error that names the actual constraint ("aesthetic linewidth cannot be mapped on a boxplot layer") rather than leaking __ggsql_aes_* columns to the user.
- 主要言語
- Rust
- スター
- 573
- フォーク
- 32
- 平均マージ
- 8日 23時間
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/ggsql のほかの issue
-
Missing `linewidth` and `linetype` aesthetics on histogram and bar layers対応中かも @teunbrand が 30 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
メンテナーはふだん 6 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 6 日以内に返信
-
writer
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 6 日以内に返信
-
plot building
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 6 日以内に返信
-
Mention DuckDB extension対応中かも @Anant-mishra1729 が 152 日前に担当しました。 オープンdocumentation integration
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 6 日以内に返信
posit-dev/ggsql の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
storytold/craft-anything#2472 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsotto/sotto-authenticator#68 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
slavakurilyak/awesome-ai-agents#1046 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nowledge-co/hawdb#1995 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
swc-project/swc-next-issues#984 ·