apache / apache/datafusion-sqlparser-rs
A separate crate for common types such DataType and Value
- Lingua principale
- Rust
- Stelle
- 3.5k
- Fork
- 772
- Merge medio
- 4g 9h
- PR unite (30g)
- 17
Descrizione
A lot of times when using/implementing an ORM there is a lot of enum matching which DataType should be matching to essentially the same data type for the ORM implementation which ultimately maps to the underlying database DataType. There would be also conversion of Value to and fro ORM enum Value. If we can move these common types into a thin shared crate, it would remove a lot of conversion code. One example where is this applied is the `http` crate which is used in `hyper`,`actix`,and `reqwest`
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
La issue nomina DataType e Value, ma non indica file o test. Individua prima le loro definizioni e i percorsi di conversione ORM/database, poi definisci il confine del crate condiviso; il lavoro è completo quando i tipi comuni possono essere riutilizzati senza conversioni duplicate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- databases
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100