apache / apache/datafusion-sqlparser-rs
Expand `TABLE` command support
- Lingua principale
- Rust
- Stelle
- 3.5k
- Fork
- 772
- Merge medio
- 4g 9h
- PR unite (30g)
- 17
Descrizione
#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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Esamina il supporto esistente per TABLE introdotto da #704 insieme alla documentazione PostgreSQL di TABLE. Individua quali casi di primo livello e di clausole consentite non sono ancora supportati; il lavoro è completo quando i casi previsti vengono analizzati in modo coerente e sono coperti dai test del repository.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust, sql
- Ambito
- databases
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100