Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#22387] YSQL: Fix Bitmap Scan CBO tests
Summary: 2338431 / D34646 introduced a flag `yb_enable_bitmapscan = false`, so YB bitmap scans are disabled by default, even when `enable_bitmapscan` is true. At the same time, eac0c26 / D33861 introduced CBO for bitmap scans. These tests passed before `yb_enable_bitmapscan` was added, but once it was added, they started failing because they stopped using bitmap scans. Fix the tests by setting `yb_enable_bitmapscan = true`. Jira: DB-11284 Test Plan: Jenkins: test regex: .*CostModel.* ``` ./yb_build.sh --java-test 'org.yb.pgsql.TestPgCostModelSeekNextEstimation#testSeekNextEstimationBitmapScan' ./yb_build.sh --java-test 'org.yb.pgsql.TestPgCostModelSeekNextEstimation#testSeekNextEstimationBitmapScanExceedingWorkMem' ./yb_build.sh --java-test 'org.yb.pgsql.TestPgCostModelSeekNextEstimation#testSeekNextEstimationBitmapScanWithOr' ./yb_build.sh --java-test 'org.yb.pgsql.TestPgBaseScansCostModel#testBitmapScansExceedingWorkMem' ``` Reviewers: amartsinchyk, tnayak, mtakahara Reviewed By: mtakahara Subscribers: yql Differential Revision: https://phorge.dev.yugabyte.com/D35044
- Loading branch information