Fix tests

This commit is contained in:
Alexey Milovidov 2021-04-04 15:10:13 +03:00
parent 9383fec50b
commit 9d47adbae6
4 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,4 @@
--------read-------- --------read--------
def [1,2] 2
abc [0] 1 abc [0] 1
def [1,2] 2 def [1,2] 2
abc [0] 1 abc [0] 1
@ -7,6 +6,7 @@ def [1,2] 2
abc [0] 1 abc [0] 1
def [1,2] 2 def [1,2] 2
abc [0] 1 abc [0] 1
def [1,2] 2
--------joinGet-------- --------joinGet--------
abc abc

View File

@ -22,10 +22,10 @@ INSERT INTO join_all_left VALUES ('abc', [0], 1), ('def', [1, 2], 2);
-- read from StorageJoin -- read from StorageJoin
SELECT '--------read--------'; SELECT '--------read--------';
SELECT * from join_any_inner; SELECT * from join_any_inner ORDER BY k;
SELECT * from join_any_left; SELECT * from join_any_left ORDER BY k;
SELECT * from join_all_inner; SELECT * from join_all_inner ORDER BY k;
SELECT * from join_all_left; SELECT * from join_all_left ORDER BY k;
-- create StorageJoin tables with customized settings -- create StorageJoin tables with customized settings

View File

@ -1,4 +1,4 @@
a \N 1
a b 1 a b 1
a \N 2 a \N 2
a \N 1
a b 1 a b 1

View File

@ -8,7 +8,7 @@ INSERT INTO rollup_having VALUES (NULL, NULL);
INSERT INTO rollup_having VALUES ('a', NULL); INSERT INTO rollup_having VALUES ('a', NULL);
INSERT INTO rollup_having VALUES ('a', 'b'); INSERT INTO rollup_having VALUES ('a', 'b');
SELECT a, b, count(*) FROM rollup_having GROUP BY a, b WITH ROLLUP HAVING a IS NOT NULL; SELECT a, b, count(*) FROM rollup_having GROUP BY a, b WITH ROLLUP HAVING a IS NOT NULL ORDER BY a, b;
SELECT a, b, count(*) FROM rollup_having GROUP BY a, b WITH ROLLUP HAVING a IS NOT NULL and b IS NOT NULL; SELECT a, b, count(*) FROM rollup_having GROUP BY a, b WITH ROLLUP HAVING a IS NOT NULL and b IS NOT NULL ORDER BY a, b;
DROP TABLE rollup_having; DROP TABLE rollup_having;