From 65a1fa1761c633c39805637431497f001bc8eac6 Mon Sep 17 00:00:00 2001 From: Tishj Date: Wed, 29 May 2024 16:43:21 +0200 Subject: [PATCH] add expected error --- test/regression/expected/execution_error.out | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/regression/expected/execution_error.out diff --git a/test/regression/expected/execution_error.out b/test/regression/expected/execution_error.out new file mode 100644 index 00000000..6176b0b0 --- /dev/null +++ b/test/regression/expected/execution_error.out @@ -0,0 +1,9 @@ +create table int_as_varchar(a varchar); +insert into int_as_varchar SELECT * from ( + VALUES + ('abc') +) t(a); +select a::INTEGER from int_as_varchar; +ERROR: Quack execute returned an error: Conversion Error: Could not convert string 'abc' to INT32 +LINE 1: select a::INTEGER from int_as_varchar; + ^