zhangyue-hashdata commented on code in PR #724:
URL: https://github.com/apache/cloudberry/pull/724#discussion_r2004653452


##########
src/backend/executor/nodeSeqscan.c:
##########
@@ -87,8 +100,22 @@ SeqNext(SeqScanState *node)
        /*
         * get the next tuple from the table
         */
-       if (table_scan_getnextslot(scandesc, direction, slot))
-               return slot;
+       if (node->filter_in_seqscan && node->filters)
+       {
+               while (table_scan_getnextslot(scandesc, direction, slot))
+               {
+                       if (!PassByBloomFilter(node, slot))

Review Comment:
   Based on the test results of TPC-DS 10G and 100G, I estimate that there is a 
high possibility of observing a similar performance improvement margin in the 
TPC-DS 1000G performance test as well.



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