[ https://issues.apache.org/jira/browse/IGNITE-21279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maksim Zhuravkov updated IGNITE-21279: -------------------------------------- Description: Given partition pruning information for each scan operator of a QueryPlan, we can evaluate a partition pruning predicate against statement's execution context to prune partitions that scan operations won't touch. 1. Use affinity function and statement's execution context to evaluate partition pruning predicates for each scan operator, so enlist is only called for partitions that should be scanned. 2. Support table scans, system view scans, and index scans. After this issue is resolved, partition pruning should work for SELECT queries. was: Given partition pruning information for each scan operator of a QueryPlan, we can evaluate a partition pruning predicate against current execution context to prune partitions that scan operations won't touch. 1. Use affinity function and statement's execution context to evaluate partition pruning predicates for each scan operator, so enlist is only called for partitions that should be scanned. 2. Support table scans, system view scans, and index scans. After this issue is resolved, partition pruning should work for SELECT queries. > Sql. Partition pruning. Integrate static partition pruning into READ > statements execution pipeline > -------------------------------------------------------------------------------------------------- > > Key: IGNITE-21279 > URL: https://issues.apache.org/jira/browse/IGNITE-21279 > Project: Ignite > Issue Type: Improvement > Components: sql > Affects Versions: 3.0.0-beta2 > Reporter: Maksim Zhuravkov > Priority: Major > Labels: ignite-3 > > Given partition pruning information for each scan operator of a QueryPlan, we > can evaluate a partition pruning predicate against statement's execution > context to prune partitions that scan operations won't touch. > 1. Use affinity function and statement's execution context to evaluate > partition pruning predicates for each scan operator, so enlist is only called > for partitions that should be scanned. > 2. Support table scans, system view scans, and index scans. > After this issue is resolved, partition pruning should work for SELECT > queries. -- This message was sent by Atlassian Jira (v8.20.10#820010)