Skip to content

Commit

Permalink
Add test case with ORCA query optimizer enabled
Browse files Browse the repository at this point in the history
Adds test configuration for running regression tests with ORCA enabled:
- test: ic-good-opt-on
- make_configs: src/test/regress:installcheck-good
- pg_settings.optimizer: "on"

The ORCA query optimizer provides cost-based query optimization and offers
additional query optimization capabilities. This configuration allows
regression testing with ORCA enabled to verify optimizer functionality.
  • Loading branch information
edespino committed Dec 20, 2024
1 parent ee92070 commit b54afa4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ github:
- Build Apache Cloudberry
- RPM Install Test Apache Cloudberry
- ic-good-opt-off
- ic-good-opt-on
- ic-expandshrink
- ic-singlenode
- ic-resgroup-v2
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/build-cloudberry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,15 @@ jobs:
pg_settings:
optimizer: "off"

- test: ic-good-opt-on
make_configs:
- src/test/regress:installcheck-good
num_primary_mirror_pairs: 3
enable_cgroups: false
enable_core_check: true
pg_settings:
optimizer: "on"

- test: ic-expandshrink
make_configs:
- src/test/isolation2:installcheck-expandshrink
Expand Down

0 comments on commit b54afa4

Please sign in to comment.