Gabriel39 opened a new pull request, #69721:
URL: https://github.com/apache/doris/pull/69721
### What problem does this PR solve?
`external_table_p0/paimon/test_paimon_rust_reader_eq_for_null.groovy` can
fail under session-variable fuzzing even when the Rust runtime-filter converter
works correctly. The suite forces IN runtime filters and waits for their
arrival, but it does not set an IN-filter capacity until the later
oversized-filter section.
When fuzzing sets `runtime_filter_max_in_num=0`, the positive integer join
builds a filter with two values. The filter is disabled with `reach max in
num`, and `RustRuntimeFiltersApplied` remains zero, failing the assertion that
the positive control reaches Rust. Waiting longer cannot activate a filter that
was disabled by its capacity limit.
Set a sufficient capacity and disable selectivity-based runtime-filter
pruning before the reader/profile checks. Keep the separate 70000-value
capacity for the oversized-filter boundary tests and use the existing `finally`
block to restore both inherited settings. The positive, residual,
reader-routing, and oversized-filter assertions remain intact.
### Release note
None. Regression test configuration only.
### Check List (For Author)
- Test
- [x] Regression test
- Behavior changed:
- [x] No. No production behavior changes.
- Does this need documentation?
- [x] No.
### Validation
- Reproduced the original full-suite failure with inherited
`runtime_filter_max_in_num=0` and `enable_runtime_filter_prune=true`; the
profile reports `DISABLED / reach max in num` and zero applied Rust runtime
filters.
- Ran the complete fixed suite through `run-regression-test.sh` on a local
Doris + Spark/Paimon + MinIO fixture with the same inherited settings: one
suite passed, no failures or skips.
- Verified that the positive integer filter is applied by Rust and that both
inherited settings are restored after the suite. Oversized-filter boundary
assertions also pass.
- Groovy compilation and `git diff --check` passed.
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]