apache / apache/datafusion-sqlparser-rs
A separate crate for common types such DataType and Value
- 主要言語
- Rust
- スター
- 3.5k
- フォーク
- 772
- 平均マージ
- 4日 9時間
- マージ済み PR(30日)
- 17
説明
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`
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
IssueではDataTypeとValueの名前が挙げられていますが、ファイルやテストは示されていません。まずそれらの定義とORM/データベース変換経路を見つけ、次に共有crateの境界を定義してください。共通型を重複した変換なしで再利用できれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- databases
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100