apache / apache/datafusion-sqlparser-rs
A separate crate for common types such DataType and Value
- Lenguaje dominante
- Rust
- Estrellas
- 3.5k
- Forks
- 772
- Merge medio
- 4 d 9 h
- PR fusionados (30 d)
- 17
Descripción
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`
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
El issue menciona DataType y Value, pero no indica archivos ni tests. Primero localiza sus definiciones y las rutas de conversión de ORM/base de datos; después define el límite del crate compartido; el trabajo estará completo cuando los tipos comunes puedan reutilizarse sin conversiones duplicadas.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- databases
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100