mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
More tests [#METR-21863].
This commit is contained in:
parent
e38030fe5d
commit
b18453103e
@ -1,2 +1,12 @@
|
||||
['']
|
||||
['abc']
|
||||
['abc','def'] 1
|
||||
['abc','def'] 2
|
||||
['abc','def'] 3
|
||||
[] 1
|
||||
[] 2
|
||||
['Hello'] 1
|
||||
['Hello'] 2
|
||||
['x','y','z'] 4
|
||||
['x','y','z'] 5
|
||||
['x','y','z'] 6
|
||||
|
@ -16,3 +16,13 @@ INSERT INTO test.bad_arrays VALUES ([''],[]),([''],[]),([''],[]),([''],[]),(['']
|
||||
SELECT a FROM test.bad_arrays ARRAY JOIN b;
|
||||
|
||||
DROP TABLE test.bad_arrays;
|
||||
|
||||
|
||||
DROP TABLE IF EXISTS test.bad_arrays;
|
||||
CREATE TABLE test.bad_arrays (a Array(String), b Array(UInt8)) ENGINE = Memory;
|
||||
|
||||
INSERT INTO test.bad_arrays VALUES (['abc','def'],[1,2,3]),([],[1,2]),(['a','b'],[]),(['Hello'],[1,2]),([],[]),(['x','y','z'],[4,5,6]);
|
||||
|
||||
SELECT a, b FROM test.bad_arrays ARRAY JOIN b;
|
||||
|
||||
DROP TABLE test.bad_arrays;
|
||||
|
Loading…
Reference in New Issue
Block a user