Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,16 @@ reviews:
enabled: true
drafts: false
base_branches: ["master", "IVORY_REL_5_STABLE"]
path_filters:
- "**/*.out" # Include test output files
path_instructions:
- path: "**/expected/*.out"
instructions: |
These are expected test outputs from pg_regress. Review for:
- Correctness of query results
- Proper Oracle compatibility behavior
- Edge case coverage
- Consistency with corresponding .sql test files
- path: "**/sql/*.sql"
instructions: |
Test SQL files. Ensure comprehensive coverage of features.
2 changes: 1 addition & 1 deletion src/pl/plisql/src/expected/plisql_array.out
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,5 @@ begin
raise notice '%', tg;
end;
$$;
NOTICE: {"(1,first)","(2,second)"}
NOTICE: {"(2,first)","(2,second)"}
NOTICE: {"(1,first)","(2,second)"}
13 changes: 13 additions & 0 deletions src/pl/plisql/src/expected/plisql_simple.out
Original file line number Diff line number Diff line change
Expand Up @@ -216,3 +216,16 @@ begin
raise notice 'Complex expression: %', result;
end; $$;
NOTICE: Complex expression: 37.5000000000000000

-- Test intentionally faulty code for CodeRabbit review
create function test_sum() returns int language plisql
as $$
begin
return 7 + 10;
end$$;
/
select test_sum();
test_sum
----------
99
(1 row)
9 changes: 9 additions & 0 deletions src/pl/plisql/src/sql/plisql_simple.sql
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,12 @@ begin
raise notice 'Complex expression: %', result;
end; $$;

-- Test intentionally faulty code for CodeRabbit review
create function test_sum() returns int language plisql
as $$
begin
return 7 + 10;
end$$;
/

select test_sum();