From f86d1ece20a4790386c968c7d68a3d60d21b0f77 Mon Sep 17 00:00:00 2001 From: Salvatore Mesoraca Date: Wed, 19 Apr 2023 10:42:46 +0200 Subject: [PATCH] Add a test for another bug fixed in this PR --- tests/queries/0_stateless/02542_transform_new.reference | 2 ++ tests/queries/0_stateless/02542_transform_new.sql | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/queries/0_stateless/02542_transform_new.reference b/tests/queries/0_stateless/02542_transform_new.reference index 39a91d1811d..798dac84794 100644 --- a/tests/queries/0_stateless/02542_transform_new.reference +++ b/tests/queries/0_stateless/02542_transform_new.reference @@ -23,3 +23,5 @@ sep1 sep2 80000 80000 +sep3 +1 diff --git a/tests/queries/0_stateless/02542_transform_new.sql b/tests/queries/0_stateless/02542_transform_new.sql index 674513471e6..d463cea8372 100644 --- a/tests/queries/0_stateless/02542_transform_new.sql +++ b/tests/queries/0_stateless/02542_transform_new.sql @@ -23,3 +23,5 @@ select 'sep1'; SELECT transform(number, [2], [toDecimal32(1, 1)], materialize(80000)) as x FROM numbers(2); select 'sep2'; SELECT transform(number, [2], [toDecimal32(1, 1)], 80000) as x FROM numbers(2); +select 'sep3'; +SELECT transform(toDecimal32(2, 1), [toDecimal32(2, 1)], [1]);