apache / apache/datafusion-sqlparser-rs

Interest in partial parsing and sql formatting?

未关闭
#1,392 13 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
3.5k
派生
772
平均合并
4 天 9 小时
30 天内合并 PR
17

描述

Hello! I've been loving sqlparser-rs, I've been having a lot of fun using it with [a tool I've been working on recently](https://github.com/zmaril/bpfquery). As part of my work, I would like to do two things with sqlparser-rs that I don't think are supported right now. I'd like to be able to get a partial parse of a sql string back out, for use with code editors and text highlighting. Additionally, I would like to be able to format sql with my particular dialect as well eventually. Would you all be interested in me trying to contribute this back to the library somehow when I get around to it? Did I miss something somewhere hopefully? Thanks again for a great library.

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 提议为编辑器高亮提供部分 SQL 解析,并支持特定方言的 SQL 格式化,但没有提及文件、测试或入口点。首先明确预期范围,并审查解析器和格式化相关接口;要视为完成,需要一份达成共识的设计,以及对所请求能力的可演示支持。

由索引模型根据 Issue 内容生成。

评估

技术栈
rust, sql
领域
compilers
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。