mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 04:42:37 +00:00
fix tests
This commit is contained in:
parent
9ac3b50c27
commit
e73958d55c
@ -48,14 +48,14 @@ TRUNCATE TABLE test_groupConcat;
|
||||
|
||||
INSERT INTO test_groupConcat VALUES (0, 95, 'abc', [1, 2, 3]), (1, NULL, 'a', [993, 986, 979, 972]), (2, 123, 'makson95', []);
|
||||
|
||||
SELECT groupConcat(',', p_int) FROM test_groupConcat SETTINGS enable_analyzer=1;
|
||||
SELECT groupConcat(p_int, ',') FROM test_groupConcat SETTINGS enable_analyzer=1;
|
||||
SELECT groupConcat('.')(p_string) FROM test_groupConcat SETTINGS enable_analyzer=1;
|
||||
SELECT groupConcat('/', p_array) FROM test_groupConcat SETTINGS enable_analyzer=1;
|
||||
SELECT groupConcat(p_array, '/') FROM test_groupConcat SETTINGS enable_analyzer=1;
|
||||
|
||||
SELECT group_concat('/', p_array) FROM test_groupConcat SETTINGS enable_analyzer=1;
|
||||
SELECT grouP_CONcat('/', p_array) FROM test_groupConcat SETTINGS enable_analyzer=1;
|
||||
SELECT grouP_CONcat(',')('/', p_array) FROM test_groupConcat SETTINGS enable_analyzer=1; -- overrides current parameter
|
||||
SELECT grouP_CONcat(',', 2)('/', p_array) FROM test_groupConcat SETTINGS enable_analyzer=1; -- works fine with both arguments
|
||||
SELECT group_concat(p_array, '/') FROM test_groupConcat SETTINGS enable_analyzer=1;
|
||||
SELECT grouP_CONcat(p_array, '/') FROM test_groupConcat SETTINGS enable_analyzer=1;
|
||||
SELECT grouP_CONcat(',')(p_array, '/') FROM test_groupConcat SETTINGS enable_analyzer=1; -- overrides current parameter
|
||||
SELECT grouP_CONcat(',', 2)(p_array, '/') FROM test_groupConcat SETTINGS enable_analyzer=1; -- works fine with both arguments
|
||||
|
||||
DROP TABLE IF EXISTS test_groupConcat;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user