From 65d88e3037abb80177f69f13092bca7a1233092b Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Fri, 3 Apr 2015 00:06:23 +0300 Subject: [PATCH] =?UTF-8?q?=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88?= =?UTF-8?q?=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88:=20added?= =?UTF-8?q?=20program=20to=20looking=20at=20solid=20table=20[#METR-15822].?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../0_stateless/00140_parse_unix_timestamp_as_datetime.reference | 1 + .../0_stateless/00140_parse_unix_timestamp_as_datetime.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 dbms/tests/queries/0_stateless/00140_parse_unix_timestamp_as_datetime.reference create mode 100644 dbms/tests/queries/0_stateless/00140_parse_unix_timestamp_as_datetime.sql diff --git a/dbms/tests/queries/0_stateless/00140_parse_unix_timestamp_as_datetime.reference b/dbms/tests/queries/0_stateless/00140_parse_unix_timestamp_as_datetime.reference new file mode 100644 index 00000000000..d00491fd7e5 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00140_parse_unix_timestamp_as_datetime.reference @@ -0,0 +1 @@ +1 diff --git a/dbms/tests/queries/0_stateless/00140_parse_unix_timestamp_as_datetime.sql b/dbms/tests/queries/0_stateless/00140_parse_unix_timestamp_as_datetime.sql new file mode 100644 index 00000000000..822bff89833 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00140_parse_unix_timestamp_as_datetime.sql @@ -0,0 +1 @@ +SELECT min(ts = toUInt32(toDateTime(toString(ts)))) FROM (SELECT 1000000000 + 1234 * number AS ts FROM system.numbers LIMIT 1000000);