mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-30 05:30:51 +00:00
Add test cases
This commit is contained in:
parent
0760759dc6
commit
37749eecde
@ -0,0 +1,2 @@
|
|||||||
|
b
|
||||||
|
{'1':1} 1 0
|
@ -0,0 +1,12 @@
|
|||||||
|
DROP TABLE IF EXISTS map_lc;
|
||||||
|
SET allow_experimental_map_type = 1;
|
||||||
|
CREATE TABLE map_lc
|
||||||
|
(
|
||||||
|
`kv` Map(LowCardinality(String), LowCardinality(String))
|
||||||
|
)
|
||||||
|
ENGINE = Memory;
|
||||||
|
|
||||||
|
INSERT INTO map_lc select map('a', 'b');
|
||||||
|
SELECT kv['a'] FROM map_lc;
|
||||||
|
DROP TABLE map_lc;
|
||||||
|
SELECT map(toFixedString('1',1),1) AS m, m[toFixedString('1',1)],m[toFixedString('1',2)];
|
Loading…
Reference in New Issue
Block a user