From 1e9c96776a78d1281b07cda9128daca281487b7c Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Tue, 21 Apr 2020 02:50:14 +0300 Subject: [PATCH] Added a test --- .../01254_array_of_unnamed_tuples.reference | 10 ++++++++++ .../0_stateless/01254_array_of_unnamed_tuples.sql | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 tests/queries/0_stateless/01254_array_of_unnamed_tuples.reference create mode 100644 tests/queries/0_stateless/01254_array_of_unnamed_tuples.sql diff --git a/tests/queries/0_stateless/01254_array_of_unnamed_tuples.reference b/tests/queries/0_stateless/01254_array_of_unnamed_tuples.reference new file mode 100644 index 00000000000..0342c7b7310 --- /dev/null +++ b/tests/queries/0_stateless/01254_array_of_unnamed_tuples.reference @@ -0,0 +1,10 @@ +[(nan,1.1460459347849696e-169)] `xbguF 1493493065813843889 +[(-2.6774132404843463e217,-1.5941466176583548e-32)] ?/;UTko 8163231169061670909 +[(4.559039863342969e-218,1.1023812988249403e186)] k3Igp@ 9512519566588292358 +[(-6.156499824044965e254,2.125276757267567e176)] 12763761121429990320 +[] TlL 10781278062399783511 +[(-1.6511853645079817e-21,-1.5094564365588905e303)] UeS}D 1158449958889177529 +[(-5.109297304033652e229,-8.565674764550042e219),(-2.163260216301827e-75,-3.771562357185976e285)] 0Z3|h 12502841092151487477 +[] -] 2092132020040612180 +[(-2.9588901009588613e-146,-6.4241843242744556e268)] &b!M-e;7 10616749141511339887 +[(3.084905744030789e-98,-4.973771413288743e177),(-1.8198487259356486e114,1.2449864950522508e251)] Dj7peUH{T 5992776369613298329 diff --git a/tests/queries/0_stateless/01254_array_of_unnamed_tuples.sql b/tests/queries/0_stateless/01254_array_of_unnamed_tuples.sql new file mode 100644 index 00000000000..3660d66620c --- /dev/null +++ b/tests/queries/0_stateless/01254_array_of_unnamed_tuples.sql @@ -0,0 +1,5 @@ +DROP TABLE IF EXISTS mass_table_457; +CREATE TABLE mass_table_457 (key Array(Tuple(Float64, Float64)), name String, value UInt64) ENGINE = Memory; +INSERT INTO mass_table_457 SELECT * FROM generateRandom('`key` Array(Tuple(Float64, Float64)),`name` String,`value` UInt64', 1, 10, 2) LIMIT 10; +SELECT * FROM mass_table_457; +DROP TABLE mass_table_457;