apache / apache/datafusion-sqlparser-rs
Expand `TABLE` command support
- Lenguaje dominante
- Rust
- Estrellas
- 3.5k
- Forks
- 772
- Merge medio
- 4 d 9 h
- PR fusionados (30 d)
- 17
Descripción
#704 added support for the `CREATE TABLE x AS TABLE y` by adding basic support for the `TABLE` command within the context of a `CREATE` statement. However, as noted in the [Postgres docs](https://www.postgresql.org/docs/current/sql-select.html#SQL-TABLE):
"It can be used as a top-level command or as a space-saving syntax variant in parts of complex queries. Only the WITH, UNION, INTERSECT, EXCEPT, ORDER BY, LIMIT, OFFSET, FETCH and FOR locking clauses can be used with TABLE; the WHERE clause and any form of aggregation cannot be used."
These other cases have yet to be investigated.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Revisa el soporte existente para TABLE introducido por #704 junto con la documentación de TABLE de PostgreSQL. Identifica qué casos de nivel superior y de cláusulas permitidas siguen sin estar soportados; se considera terminado cuando los casos previstos se analizan de forma coherente y están cubiertos por las pruebas del repositorio.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust, sql
- Área
- databases
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 35/100