apache / apache/datafusion-sqlparser-rs

Support GROUP BY ALL

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

描述

DuckDB supports this: https://duckdb.org/2022/05/04/friendlier-sql.html:

```
SELECT
systems,
planets,
cities,
cantinas,
SUM(scum + villainy) as total_scum_and_villainy
FROM star_wars_locations
GROUP BY ALL
-- GROUP BY systems, planets, cities, cantinas
```

It's essentially a shortcut to refer to all dimension fields in a group by.

贡献指南

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

调研方向

从 issue 中链接的 DuckDB GROUP BY ALL 参考文档开始,检查 parser 现有的 GROUP BY 处理;未指定文件路径或测试路径。完成的标准是示例语法能够被接受,并且 coverage 验证 GROUP BY ALL 表示按所有维度字段进行分组。

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

评估

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

把新 issue 发到你的邮箱

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