apache / apache/iotdb

IoTDB doesn't distinguish between zero and null values in sum aggregation

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

描述

In IoTDB, the aggregate result of sum is like:

![iotdb](https://user-images.githubusercontent.com/33111881/138632492-fecf8ecb-2256-4d80-a1a3-309d2357405a.png)

You can see that both a 0 value and a null value result in 0, without distinction.

But in **MySQL**, the aggregate result of sum is like:

mysql

I wonder if IoTDB can similarly distinguish between zero values and null values in the aggregate result of sum

贡献指南

打开贡献指南

调研方向

首先复现 issue 中描述的 sum 聚合行为,并将 0 和 null 值的结果与 MySQL 的行为进行比较。跟踪 IoTDB 的 sum 聚合实现及其现有测试;当 0 和 null 产生可区分且符合预期语义的聚合结果时,即表示完成。

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

评估

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

把新 issue 发到你的邮箱

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