mrhhsg opened a new pull request, #70623: URL: https://github.com/apache/doris/pull/70623
## Summary Backport #68684 to branch-4.2. - Keep the runtime-filter merger from mutating a producer wrapper that plain local consumers or broadcast producers may still read. Clone non-exclusive inputs, while retaining direct ownership transfer for exclusive inputs. - Deep-copy IN, MIN/MAX, and BLOOM filter state. When an IN_OR_BLOOM filter transitions to BLOOM, copy a shared input Bloom filter before merging into it. - Preserve branch-4.2 behavior and APIs; this branch does not have the bucket-pruning cache used by the source change. ## Testing - [x] BE ASAN UT: `./run-be-ut.sh --run -j 64 --filter='RuntimeFilterMergerTest.*:RuntimeFilterProducerTest.*:RuntimeFilterWrapperTest.*'` (41 tests passed). - [x] `./build-support/check-format.sh`. - [x] `clang-format --dry-run --Werror` on the changed C++ files. - [x] `git diff --check` for the committed change. - [ ] SQL regression was not run; the source change includes no SQL regression cases. Issue Number: None -- 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]
