Skip to content

Commit

Permalink
add e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc committed Oct 3, 2024
1 parent b7fa0b4 commit 01ff380
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions e2e_test/batch/basic/generate_series.slt.part
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,22 @@ SELECT * FROM generate_series(0::numeric,10::numeric,'nan'::numeric);

statement error start value cannot be infinity
SELECT * FROM generate_series('-infinity'::numeric,'infinity'::numeric,'nan'::numeric);

# ------
# generate_series(timestamptz, timestamptz, interval) is not supported in batch mode

statement error Unsupported function
select * from generate_series(
'2024-06-21 17:36:00'::timestamptz,
now(),
interval '1 hour'
);

statement error Unsupported function
select * from generate_series(
'2024-06-21 17:36:00',
now(),
'1 hour'
);

# ------

0 comments on commit 01ff380

Please sign in to comment.