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));