Gabriel39 opened a new pull request, #65580:
URL: https://github.com/apache/doris/pull/65580

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary: FileScannerV2 deep-clones runtime-filter wrappers while 
remapping scan expressions. `RuntimeFilterExpr::clone_node` created fresh 
profile counters, so filtering performed by the clone was not reflected in the 
consumer profile and `FilterRows` could remain zero. Preserve the attached 
shared counters when cloning so all evaluation sites report into the same 
runtime-filter profile.
   
   ### Release note
   
   Fix Runtime Filter profile row counters for cloned scan expressions.
   
   ### Check List (For Author)
   
   - Test: Unit Test
       - `RuntimeFilterExprSamplingTest.*`
   - Behavior changed: No. Query results and filtering are unchanged; only 
profile statistics are corrected.
   - Does this need documentation: No
   


-- 
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]

Reply via email to