Skip to content

Commit

Permalink
add e2e test
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc committed Aug 22, 2024
1 parent 3bcc263 commit 2c3c0e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions e2e_test/udf/bug_fixes/18202_sql_udf_aggregate_prefix.slt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# https://github.com/risingwavelabs/risingwave/issues/18202

statement ok
create function as2 ( int[] ) returns bigint language sql as 'select array_sum($1)';

query I
select aggregate:as2(a) from (values (1), (2)) t(a);
----
3

0 comments on commit 2c3c0e1

Please sign in to comment.