apache / apache/datafusion-sqlparser-rs

Parse data types based on current dialect

オープン
#623 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
3.5k
フォーク
772
平均マージ
4日 9時間
マージ済み PR(30日)
17

説明

Currently we parse data types ignoring the dialect, which doesn't make that much sense. This requires the caller to validate not only their usage, but if we parsed the data types correctly.

Could we add the dialect to parse the data types? That's done in a few parts of the code using `dialect_of!()`

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

データ型のパースのエントリポイントと、issue で言及されている既存の `dialect_of!()` の使用箇所を特定します。現在の dialect が関連する parser コードにどのように到達するかを追跡し、その後、データ型がその dialect でパースされていること、また既存の parser テストが dialect 固有の動作をカバーしていることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
compilers
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。