Reshape validation

Aberta
#627 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 6 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Refatoração
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
rust
Domínio
backend

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Rust
Estrelas
575
Forks
33
Merge médio
7d 18h
PRs com merge (30d)
11

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de posit-dev/ggsql

Todas as issues de posit-dev/ggsql

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.