From 180f0aa1e0fc87a6ddbe60a1f73ee14e843483f0 Mon Sep 17 00:00:00 2001 From: Maksim Kita Date: Fri, 18 Jun 2021 11:49:40 +0300 Subject: [PATCH] Added tests for DataTypeLowCardinality support DataTypeInterval --- .../0_stateless/01916_low_cardinality_interval.reference | 7 +++++++ .../queries/0_stateless/01916_low_cardinality_interval.sql | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 tests/queries/0_stateless/01916_low_cardinality_interval.reference create mode 100644 tests/queries/0_stateless/01916_low_cardinality_interval.sql diff --git a/tests/queries/0_stateless/01916_low_cardinality_interval.reference b/tests/queries/0_stateless/01916_low_cardinality_interval.reference new file mode 100644 index 00000000000..fcb49fa9945 --- /dev/null +++ b/tests/queries/0_stateless/01916_low_cardinality_interval.reference @@ -0,0 +1,7 @@ +1 +1 +1 +1 +1 +1 +1 diff --git a/tests/queries/0_stateless/01916_low_cardinality_interval.sql b/tests/queries/0_stateless/01916_low_cardinality_interval.sql new file mode 100644 index 00000000000..954431e1e00 --- /dev/null +++ b/tests/queries/0_stateless/01916_low_cardinality_interval.sql @@ -0,0 +1,7 @@ +SELECT toLowCardinality(toIntervalSecond(1)); +SELECT toLowCardinality(toIntervalMinute(1)); +SELECT toLowCardinality(toIntervalHour(1)); +SELECT toLowCardinality(toIntervalDay(1)); +SELECT toLowCardinality(toIntervalWeek(1)); +SELECT toLowCardinality(toIntervalQuarter(1)); +SELECT toLowCardinality(toIntervalYear(1));