chenminghua8 commented on PR #38213:
URL: https://github.com/apache/spark/pull/38213#issuecomment-1275745319

   What changes were proposed in this pull request?
   This RP makes the Row-level Runtime Filtering work without stats.
   
   Why are the changes needed?
   At present, Row-level Runtime Filtering will judge whether maxScanSize meets 
the requirements for performing Row-level Runtime Filtering. When there is no 
stats in the catalogTable, maxScanSize is equal to 0, which makes it unable to 
meet the requirements for performing Row-level Runtime Filtering, resulting in 
Row-level Runtime Filtering not being enabled. By adding the 
RUNTIME_FILTER__ENABLED_WHEN_NO_STATS parameter, when 
RUNTIME_FILTER__ENABLED_WHEN_NO_STATS is true, even if maxScanSize is equal to 
0 but other conditions can satisfy Row-level Runtime Filtering will still be 
executed. Avoid Row-level Runtime Filtering not enabled because catalogTable 
has no stats.
   
   Does this PR introduce any user-facing change?
   No.
   
   How was this patch tested?
   Unit test.


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