mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Trying to fix test
This commit is contained in:
parent
f7a086b9d9
commit
4f66c4bc7d
@ -5,36 +5,8 @@ drop table if exists polygons;
|
||||
|
||||
create table polygons (key Array(Array(Array(Array(Float64)))), name String, u64 UInt64) Engine = Memory;
|
||||
insert into polygons values ([[[[1, 3], [1, 1], [3, 1], [3, -1], [1, -1], [1, -3], [-1. -3], [-1, -1], [-3, -1], [-3, 1], [-1, 1], [-1, 3]]], [[[5, 5], [5, 1], [7, 1], [7, 7], [1, 7], [1, 5]]]], 'Click', 42);
|
||||
/*
|
||||
insert into polygons values (
|
||||
[
|
||||
[
|
||||
[
|
||||
[5, 5],
|
||||
[5, -5],
|
||||
[-5, -5],
|
||||
[-5, 5]
|
||||
],
|
||||
[
|
||||
[1, 3],
|
||||
[1, 1],
|
||||
[3, 1],
|
||||
[3, -1],
|
||||
[1, -1],
|
||||
[1, -3],
|
||||
[-1. -3],
|
||||
[-1, -1],
|
||||
[-3, -1],
|
||||
[-3, 1],
|
||||
[-1, 1],
|
||||
[-1, 3]
|
||||
]
|
||||
]
|
||||
],
|
||||
'House',
|
||||
314159);
|
||||
*/
|
||||
select 'dictGet', 'polygons' as dict_name, (0.0, 0.0) as key,
|
||||
insert into polygons values ([[[[5, 5], [5, -5], [-5, -5], [-5, 5]], [[1, 3], [1, 1], [3, 1], [3, -1], [1, -1], [1, -3], [-1. -3], [-1, -1], [-3, -1], [-3, 1], [-1, 1], [-1, 3]]]], 'House', 314159);
|
||||
select 'dictGet', 'polygons' as dict_name, tuple(0.0, 0.0) as key,
|
||||
dictGet(dict_name, 'name', key),
|
||||
dictGet(dict_name, 'u64', key);
|
||||
drop table polygons;
|
||||
|
Loading…
Reference in New Issue
Block a user