4paradigm / 4paradigm/OpenMLDB

There is no data in the result of full table aggregation calculation for an empty table

未关闭
#2,667 0 条评论 0 个 reaction 已指派 1 人 已指派给 @zhanghaohit 在 GitHub 查看
bug execute-engine
主要语言
C++
星标
1.7k
派生
331
平均合并
12 天 12 小时
30 天内合并 PR
1

描述

**Bug Description**
There is no data in the result of full table aggregation calculation for an empty table
![image](https://user-images.githubusercontent.com/18275570/196114883-86d9e911-97bc-43d3-b9be-1510af4da0e2.png)

+ case
```yaml
- id: 3
desc: "表是空的"
tags: ["TODO","@chengjing,bug,"]
mode: request-unsupport
inputs:
-
columns : ["id bigint","c1 string","c2 int","c7 timestamp"]
indexs: ["index1:c1:c7"]
sql: select count(c2) as v1,max(c2) as v2,min(c2) as v3,avg(c2) as v4,sum(c2) as v5 from {0};
expect:
order: c1
columns: ["v1 int","v2 int","v3 int","v4 double","v5 int"]
rows:
- [0,null,null,null,null]
```

**Expected Behavior**
Expect to have data
**Relation Case**
test_udaf_table.yaml id:3
**Steps to Reproduce**

1.
2.
3.
4.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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