Add a test for #16231

This commit is contained in:
Alexey Milovidov 2020-11-04 18:29:43 +03:00
parent 7986dbdfc7
commit c496aaddb2
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1 @@
([1],[5]) 4 4

View File

@ -0,0 +1,5 @@
SELECT
sumMapIf([1], [1], nullIf(number, 3) > 0) AS col1,
countIf(1, nullIf(number, 3) > 0) AS col2,
sumIf(1, nullIf(number, 3) > 0) AS col3
FROM numbers(1, 5);