apache / apache/datafusion-sqlparser-rs

Add support for array slice

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

描述

While working on https://github.com/apache/arrow-datafusion/pull/8946, I discovered that sqlparser-rs does not support tokens such as `[-1:-1]` or `[-2:3]`.

贡献指南

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

调研方向

Issue 中没有提到文件或测试。首先复现 parser 对 `[-1:-1]` 和 `[-2:3]` 的行为,然后跟踪数组切片语法在哪里被解析,并为报告中的形式添加覆盖。完成的标准是 parser 能够无错误地接受这些切片表达式。

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

评估

技术栈
rust, sql
领域
databases
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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