apache / apache/iotdb

Hope select function, "top_k" and "bottom_k", could support "group by level"

未关闭
#3,905 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
6.4k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
115

描述

### Discussed in https://github.com/apache/iotdb/discussions/3888

I find we can use `group by level` to get the effect of merging devices when using aggregation function. Hope select function, `top_k` and `bottom_k`, could support `group by level` as well.
![image](https://user-images.githubusercontent.com/51618159/131989804-8b9e578a-8757-490e-ad44-e5be39864092.png)

贡献指南

打开贡献指南

调研方向

从 https://github.com/apache/iotdb/discussions/3888 中链接的讨论开始,并将聚合函数现有的 `group by level` 行为与 `top_k` 和 `bottom_k` 进行比较。当两个 select 函数支持按层级分组,且行为与聚合查询一致(包括 issue 中所示的情况)时,即视为完成。

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

评估

技术栈
java
领域
database
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

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