From 1b825baf21c9f8549d0b24a3fe8b2fe6e26390bb Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 30 May 2020 19:31:36 +0300 Subject: [PATCH] Added a test --- .../01291_unsupported_conversion_from_decimal.reference | 0 .../01291_unsupported_conversion_from_decimal.sql | 5 +++++ 2 files changed, 5 insertions(+) create mode 100644 tests/queries/0_stateless/01291_unsupported_conversion_from_decimal.reference create mode 100644 tests/queries/0_stateless/01291_unsupported_conversion_from_decimal.sql diff --git a/tests/queries/0_stateless/01291_unsupported_conversion_from_decimal.reference b/tests/queries/0_stateless/01291_unsupported_conversion_from_decimal.reference new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/queries/0_stateless/01291_unsupported_conversion_from_decimal.sql b/tests/queries/0_stateless/01291_unsupported_conversion_from_decimal.sql new file mode 100644 index 00000000000..256c6424901 --- /dev/null +++ b/tests/queries/0_stateless/01291_unsupported_conversion_from_decimal.sql @@ -0,0 +1,5 @@ +SELECT toIntervalSecond(now64()); -- { serverError 70 } +SELECT CAST(now64() AS IntervalSecond); -- { serverError 70 } + +SELECT toIntervalSecond(now64()); -- { serverError 70 } +SELECT CAST(now64() AS IntervalSecond); -- { serverError 70 }