Skip to content

Commit

Permalink
Check errors are returned in the SLT
Browse files Browse the repository at this point in the history
  • Loading branch information
bkirwi committed Nov 30, 2023
1 parent 5c2a972 commit 8927d7a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/sqllogictest/persist-fast-path.slt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ true
true
true

# Errors should always be returned even when the limit is small
statement ok
CREATE MATERIALIZED VIEW erroring AS SELECT 10.0 / (value - 1) FROM numbers;

query error db error: ERROR: Evaluation error: division by zero
SELECT * FROM erroring LIMIT 10;

# Does not apply when the limit is high, or when mixed with features
# that might require a full scan.

Expand Down

0 comments on commit 8927d7a

Please sign in to comment.