From ecf8de7111f689b1072633948927c50103636f21 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 17 Apr 2021 02:22:32 +0300 Subject: [PATCH] Add a test for #14610 --- .../queries/0_stateless/01818_case_float_value_fangyc.reference | 1 + tests/queries/0_stateless/01818_case_float_value_fangyc.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 tests/queries/0_stateless/01818_case_float_value_fangyc.reference create mode 100644 tests/queries/0_stateless/01818_case_float_value_fangyc.sql diff --git a/tests/queries/0_stateless/01818_case_float_value_fangyc.reference b/tests/queries/0_stateless/01818_case_float_value_fangyc.reference new file mode 100644 index 00000000000..61780798228 --- /dev/null +++ b/tests/queries/0_stateless/01818_case_float_value_fangyc.reference @@ -0,0 +1 @@ +b diff --git a/tests/queries/0_stateless/01818_case_float_value_fangyc.sql b/tests/queries/0_stateless/01818_case_float_value_fangyc.sql new file mode 100644 index 00000000000..3cdb8503e64 --- /dev/null +++ b/tests/queries/0_stateless/01818_case_float_value_fangyc.sql @@ -0,0 +1 @@ +select case 1.1 when 0.1 then 'a' when 1.1 then 'b' when 2.1 then 'c' else 'default' end as f;