Skip to content

Commit

Permalink
fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
lmatz committed Dec 18, 2024
1 parent 33a2a6d commit ee54595
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions e2e_test/batch/order/negative_offset.slt.part
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,26 @@ SELECT * FROM generate_series(0,10,1) LIMIT -3;
statement error
SELECT * FROM generate_series(0,10,1) LIMIT -1%;

statement ok
query I
SELECT * FROM generate_series(0,10,1) as t(v) order by v limit 1+2;
----
0
1
2


statement ok
query I
SELECT * FROM generate_series(0,10,1) as t(v) order by v limit 1.5*2;
---
0
1
2


statement ok
query I
SELECT * FROM generate_series(0,10,1) as t(v) order by v limit -3+4;
---
0

statement ok
query I
SELECT * FROM generate_series(0,10,1) as t(v) order by v limit 1.5*2 OFFSET 2;
---
2
Expand Down

0 comments on commit ee54595

Please sign in to comment.