Repository navigation
Commit 38eb879
committed
[test](be) Fix parquet empty selection profile test
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: The empty selection profile counter unit test used a simple id > 10 predicate on test data containing ids 1 through 5. That predicate supports zonemap evaluation, so the row group can be pruned before any batch is read and the expected batch-level profile counters remain zero. Use an equivalent always-false row-level expression that is not eligible for zonemap pruning, allowing the test to exercise the intended empty selection batch counter path.
### Release note
None
### Check List (For Author)
- Test: Unit Test
- git diff --check -- be/test/format_v2/parquet/parquet_reader_test.cpp
- Attempted ./run-be-ut.sh --run --filter='NewParquetReaderTest.EmptySelectionUpdatesProfileCounters', but the local environment failed during BE UT build setup because thirdparty/installed/bin/protoc is missing and apache-orc could not find Snappy under thirdparty/installed.
- Behavior changed: No
- Does this need documentation: No1 parent 1076dec commit 38eb879
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1405 | 1405 | | |
1406 | 1406 | | |
1407 | 1407 | | |
1408 | | - | |
| 1408 | + | |
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
| |||
0 commit comments