liaoxin01 opened a new pull request, #63781: URL: https://github.com/apache/doris/pull/63781
### What - Restrict scanner load quality counter updates to load scanners only. - Prevent query-side predicate filtering from being mixed into insert/delete load counters when profile is enabled. ### Why For DELETE statements with subquery scans, normal scan predicate filtered rows could be added to RuntimeState load counters. The OlapTableSink later uses those counters to calculate load totals, which may produce invalid values like `0/-2` and fail with `Insert has too many filtered data`. ### Test - `git diff --check` - `sh build-support/clang-format.sh format be/src/exec/scan/scanner.cpp` (failed: local environment has no `clang-format`) Issue: CIR-20393 -- 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]
