apache / apache/datafusion-sqlparser-rs
`GenericDialect` should support multi-table DELETE and DELETE without FROM clause
- Linguagem predominante
- Rust
- Estrelas
- 3.5k
- Forks
- 772
- Merge médio
- 4d 9h
- PRs com merge (30d)
- 17
Descrição
According to the design policy, `GenericDialect` is intended to parse any SQL that other dialects can handle, but it currently fails to parse multi-table DELETE statements and DELETE statements without a FROM clause.
I think the expected behavior is that the following tests should also pass with `GenericDialect`.
https://github.com/apache/datafusion-sqlparser-rs/blob/2182f7ea71242a7e9674932d559baef67dae522d/tests/sqlparser_common.rs#L688-L735
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Comece pelas linhas 688-735 de tests/sqlparser_common.rs e execute os testes referenciados usando GenericDialect. Rastreie o caminho de parsing para instruções DELETE com várias tabelas e instruções DELETE sem uma cláusula FROM. Está concluído quando os dois grupos de testes existentes passarem com GenericDialect.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- rust, sql
- Domínio
- compilers
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100