[
https://issues.apache.org/jira/browse/IGNITE-27430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksey Plekhanov updated IGNITE-27430:
---------------------------------------
Description:
IndexScan node creates partitions array from BitSet, to pass it to other
methods, where this array converted to BItSet again. It also iterates over
partitions array to fill reserved partitions list, but this list is never used
in IndexScan (used only in TableScan).
Also, rowType are created each time for IndexScan, can be cached.
was:IndexScan node creates partitions array from BitSet, to pass it to other
methods, where this array converted to BItSet again. It also iterates over
partitions array to fill reserved partitions list, but this list is never used
in IndexScan (used only in TableScan).
> Calcite engine. Redundant partitions iteration on IndexScan node creation
> -------------------------------------------------------------------------
>
> Key: IGNITE-27430
> URL: https://issues.apache.org/jira/browse/IGNITE-27430
> Project: Ignite
> Issue Type: Improvement
> Reporter: Aleksey Plekhanov
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: calcite, ise
>
> IndexScan node creates partitions array from BitSet, to pass it to other
> methods, where this array converted to BItSet again. It also iterates over
> partitions array to fill reserved partitions list, but this list is never
> used in IndexScan (used only in TableScan).
> Also, rowType are created each time for IndexScan, can be cached.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)