Evgeny Stanilovsky created IGNITE-18517:
-------------------------------------------

             Summary: Sql. SELECT with LIMIT prefetch more data than necessary.
                 Key: IGNITE-18517
                 URL: https://issues.apache.org/jira/browse/IGNITE-18517
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Evgeny Stanilovsky


This is just an optimization issue, not bug.
Simple distributed request like : SELECT * FROM T LIMIT N;

{noformat}
IgniteLimit
  IgniteExchange
    IgniteTableScan
{noformat}
need to request (maximum) N rows from each TableScan, but for now requested :
Outbox#flush -> source().request(waiting = IN_BUFFER_SIZE);




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to