Nikita Amelchev created IGNITE-29325:
----------------------------------------

             Summary: SQL Calcite: Avoid iterating over all partitions of a 
colocation group after partition pruning
                 Key: IGNITE-29325
                 URL: https://issues.apache.org/jira/browse/IGNITE-29325
             Project: Ignite
          Issue Type: Improvement
            Reporter: Nikita Amelchev
            Assignee: Nikita Amelchev


When partition pruning or explicitly set query partitions leave only a few 
partitions, the colocation group still keeps a per-partition assignments list 
of the full size.

The list is rebuilt partition by partition for every query, and a fragment 
executed on the initiator node walks all of it again to find its partitions, so 
a query by a primary key pays for every partition of the table.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to