[jira] [Created] (IGNITE-8598) SQL: ability to control partition pruning with explicit affinity column definition

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

[jira] [Created] (IGNITE-8598) SQL: ability to control partition pruning with explicit affinity column definition

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

             Summary: SQL: ability to control partition pruning with explicit affinity column definition
                 Key: IGNITE-8598
                 URL: https://issues.apache.org/jira/browse/IGNITE-8598
             Project: Ignite
          Issue Type: Task
          Components: sql
            Reporter: Vladimir Ozerov


Affinity functions are applicable to keys only. Sometimes users may have complex affinity calculation logic, so that partition pruning optimization is not applicable. E.g. this custom {{AffinityKeyMapper}}. However, there is a chance that partition could be calculated from some attribute of {{value}}.

It would be nice to force our engine to treat some attribute as affinity key even though it is not marked as {{AffinityKeyMapped}}.



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