diff --git a/dbms/tests/queries/0_stateless/01037_polygon_dict.sql b/dbms/tests/queries/0_stateless/01037_polygon_dict.sql index f36c68e602b..edc935454c7 100644 --- a/dbms/tests/queries/0_stateless/01037_polygon_dict.sql +++ b/dbms/tests/queries/0_stateless/01037_polygon_dict.sql @@ -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;