Skip to content

Commit

Permalink
add a test for execution errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Tishj committed May 29, 2024
1 parent 9d1707d commit 27213a1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/regression/schedule
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
test: basic
test: search_path
test: search_path
test: execution_error
7 changes: 7 additions & 0 deletions test/regression/sql/execution_error.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
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;

0 comments on commit 27213a1

Please sign in to comment.