Return single row for aggregation without keys on empty set: updated tests [#CLICKHOUSE-1920] #51

This commit is contained in:
Alexey Milovidov 2018-02-18 08:56:45 +03:00
parent 47ff837c9f
commit 6d17ca0a8b
4 changed files with 26 additions and 4 deletions

View File

@ -9,10 +9,12 @@
"data": "data":
[ [
{
"count()": "0"
}
], ],
"rows": 0, "rows": 1,
"rows_before_limit_at_least": 1000 "rows_before_limit_at_least": 1000
} }

View File

@ -1,14 +1,21 @@
nan nan
nan
0
nan
nan
0 0
nan nan
0 0
0 0
nan
0 0
0 0
nan
nan
0 0
nan nan
0 0
0 0
0 nan
nan nan
0 0

View File

@ -1,14 +1,21 @@
inf inf
inf
0
inf
inf
0 0
inf inf
0 0
0 0
inf
0 0
0 0
inf
inf
0 0
inf inf
0 0
0 0
0 inf
inf inf
0 0

View File

@ -1 +1,7 @@
0
0
0
0
0
0
1 1