apache / apache/datafusion-sqlparser-rs
`ORDER BY` parser
未关闭
- 主要语言
- 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