diff --git a/dbms/tests/queries/0_stateless/01015_random_constant.reference b/dbms/tests/queries/0_stateless/01015_random_constant.reference new file mode 100644 index 00000000000..e8183f05f5d --- /dev/null +++ b/dbms/tests/queries/0_stateless/01015_random_constant.reference @@ -0,0 +1,3 @@ +1 +1 +1 diff --git a/dbms/tests/queries/0_stateless/01015_random_constant.sql b/dbms/tests/queries/0_stateless/01015_random_constant.sql new file mode 100644 index 00000000000..b25dd9420d7 --- /dev/null +++ b/dbms/tests/queries/0_stateless/01015_random_constant.sql @@ -0,0 +1,3 @@ +select randConstant() >= 0; +select randConstant() % 10 < 10; +select uniqExact(x) from (select randConstant() as x);