Skip to content

Commit

Permalink
add expected error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tishj committed May 29, 2024
1 parent 59c5b92 commit 65a1fa1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/regression/expected/execution_error.out
Original file line number Diff line number Diff line change
@@ -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;
^

0 comments on commit 65a1fa1

Please sign in to comment.