Reshape validation

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
backend

調査の方向性

Read the validation flow in validate(), resolve_plot/table_with_reader(), and execute_with_reader(). Trace which validation work is duplicated during execution and why the standalone validation path surfaces warnings while ignoring errors. Define completion as avoiding duplicate validation and reusing the spec already built by execute_with_reader(); the issue notes that spec reuse overlaps with #608.

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

説明

Currently, for both plots and tables, we run the grand validate() in two contexts.
Once in the naked validate() context as in ggsql validate ... CLI tool.
Once at the top of resolve_plot/table_with_reader() in the execution path.
In principle this is fine, but one issue is that we duplicate validation efforts in the execution path, once in validate(), then again in individual execution steps.
We also use that run of validate() only to surface warnings, we ignore the errors.

In addition, having validation run inside the execution, it builds the spec de novo while execute_with_reader() has already built the spec. This is more in scope of #608 though.

主要言語
Rust
スター
575
フォーク
33
平均マージ
7日 18時間
マージ済み PR(30日)
11

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

posit-dev/ggsql のほかの issue

posit-dev/ggsql の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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