stdpain commented on pull request #6861: URL: https://github.com/apache/incubator-doris/pull/6861#issuecomment-955159298
The reason why we have to block to wait for the arrival of the filter is that there is no ability to dynamically push down predicates on the scan. This is the first thing we need to address, rather than forcing down-push expressions. The ability to index may not be available without pushing down expressions. Also the segment layer will use the zone map index when init is called for the first time, so this is the first thing we do. If the olap scan node does not wait for any runtime filter, then there seems to be no benefit in the current implementation. If it does not wait for a runtime filter to arrive it means that the query has a higher probability of being a big query. The overhead of waiting at this time is not significant compared to the overall overhead. So we need to provide the ability to normailize predicates on the runtime filter. This way there is no need to wait for the filter to be sent Translated with www.DeepL.com/Translator (free version) -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org