Fix test.

This commit is contained in:
Nikolai Kochetov 2021-01-22 13:06:59 +03:00
parent 42d46e2a26
commit b19316a2af

View File

@ -19,6 +19,9 @@ GLOBAL INNER JOIN
USING dummy USING dummy
) USING dummy; ) USING dummy;
-- query from fuzzer
SELECT toDateTime64(toString(toString('0000-00-00 00:00:000000-00-00 00:00:00', toDateTime64(toDateTime64('655.36', -2, NULL)))), NULL) FROM t1_00850 GLOBAL INNER JOIN (SELECT toDateTime64(toDateTime64('6553.6', '', NULL), NULL), * FROM (SELECT * FROM t2_00850) INNER JOIN (SELECT toDateTime64('6553.7', 1024, NULL), * FROM t1_00850) USING (dummy)) USING (dummy);
DROP TABLE t_local; DROP TABLE t_local;
DROP TABLE t1_00850; DROP TABLE t1_00850;
DROP TABLE t2_00850; DROP TABLE t2_00850;
@ -77,6 +80,3 @@ GLOBAL INNER JOIN
GLOBAL INNER JOIN ( SELECT dummy FROM remote('127.0.0.3', system.one) ) t2_00850 GLOBAL INNER JOIN ( SELECT dummy FROM remote('127.0.0.3', system.one) ) t2_00850
USING dummy USING dummy
) USING dummy; ) USING dummy;
-- query from fuzzer
SELECT toDateTime64(toString(toString('0000-00-00 00:00:000000-00-00 00:00:00', toDateTime64(toDateTime64('655.36', -2, NULL)))), NULL) FROM t1_00850 GLOBAL INNER JOIN (SELECT toDateTime64(toDateTime64('6553.6', '', NULL), NULL), * FROM (SELECT * FROM t2_00850) INNER JOIN (SELECT toDateTime64('6553.7', 1024, NULL), * FROM t1_00850) USING (dummy)) USING (dummy);