diff --git a/dbms/tests/queries/0_stateless/00503_cast_const_nullable.reference b/dbms/tests/queries/0_stateless/00503_cast_const_nullable.reference new file mode 100644 index 00000000000..6ed281c757a --- /dev/null +++ b/dbms/tests/queries/0_stateless/00503_cast_const_nullable.reference @@ -0,0 +1,2 @@ +1 +1 diff --git a/dbms/tests/queries/0_stateless/00503_cast_const_nullable.sql b/dbms/tests/queries/0_stateless/00503_cast_const_nullable.sql new file mode 100644 index 00000000000..c901af29713 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00503_cast_const_nullable.sql @@ -0,0 +1,2 @@ +SELECT CAST(1 AS Nullable(UInt8)) AS id WHERE id = CAST(1 AS Nullable(UInt8)); +SELECT CAST(1 AS Nullable(UInt8)) AS id WHERE id = 1;