mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
Fix tests
This commit is contained in:
parent
9383fec50b
commit
9d47adbae6
@ -1,5 +1,4 @@
|
||||
--------read--------
|
||||
def [1,2] 2
|
||||
abc [0] 1
|
||||
def [1,2] 2
|
||||
abc [0] 1
|
||||
@ -7,6 +6,7 @@ def [1,2] 2
|
||||
abc [0] 1
|
||||
def [1,2] 2
|
||||
abc [0] 1
|
||||
def [1,2] 2
|
||||
--------joinGet--------
|
||||
|
||||
abc
|
||||
|
@ -22,10 +22,10 @@ INSERT INTO join_all_left VALUES ('abc', [0], 1), ('def', [1, 2], 2);
|
||||
-- read from StorageJoin
|
||||
|
||||
SELECT '--------read--------';
|
||||
SELECT * from join_any_inner;
|
||||
SELECT * from join_any_left;
|
||||
SELECT * from join_all_inner;
|
||||
SELECT * from join_all_left;
|
||||
SELECT * from join_any_inner ORDER BY k;
|
||||
SELECT * from join_any_left ORDER BY k;
|
||||
SELECT * from join_all_inner ORDER BY k;
|
||||
SELECT * from join_all_left ORDER BY k;
|
||||
|
||||
-- create StorageJoin tables with customized settings
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
a \N 1
|
||||
a b 1
|
||||
a \N 2
|
||||
a \N 1
|
||||
a b 1
|
||||
|
@ -8,7 +8,7 @@ INSERT INTO rollup_having VALUES (NULL, NULL);
|
||||
INSERT INTO rollup_having VALUES ('a', NULL);
|
||||
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 and b 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 ORDER BY a, b;
|
||||
|
||||
DROP TABLE rollup_having;
|
||||
|
Loading…
Reference in New Issue
Block a user