apache / apache/datafusion-sqlparser-rs

`ORDER BY` parser

未關閉
#795 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
3.5k
分支
772
平均合併
4 天 9 小時
30 天內合併 PR
17

描述

Would a specific `ORDER BY` parser fit into this crate? It would generate an iterator which yields `Result`. I have developed a rudimentary version of this, which I am using in production. I could further polish it and open a PR if this would be of interest. I am just repeatedly calling `parse_order_by_expr` and looking for `EOF`.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

先閱讀 parse_order_by_expr 的 parser 進入點與現有的 ORDER BY 文法,然後比較相關 parser API 如何處理 ParserError 和 EOF。範圍仍需就 iterator 介面達成共識;完成條件包括一個已接受的 API,以及針對多個運算式、EOF 和解析錯誤的測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust, sql
領域
compilers
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。