[jira] [Created] (IGNITE-10567) SQL: Explicit and extracted partitions should be merged through AND semantics

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-10567) SQL: Explicit and extracted partitions should be merged through AND semantics

Anton Vinogradov (Jira)
Vladimir Ozerov created IGNITE-10567:
----------------------------------------

             Summary: SQL: Explicit and extracted partitions should be merged through AND semantics
                 Key: IGNITE-10567
                 URL: https://issues.apache.org/jira/browse/IGNITE-10567
             Project: Ignite
          Issue Type: Task
          Components: sql
            Reporter: Vladimir Ozerov


See {{IgniteH2Indexing.doRunDistributedQuery}}. Currently we process explicit and extracted partitions as follows:
# If explicit partitions are set, then use them
# Otherwise use extracted partitions if available

Now consider that explicit partitions are set to {{A, B}} and extracted partitions are {{B, C}}. Currently we will execute query over {{A, B}}, while in reality it seems that we can execute it only on {{B}} (intersection).
In extreme case intersection will be an empty set, so query execution might be skipped altogether.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)