You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Kondakov (Jira)" <ji...@apache.org> on 2020/06/01 15:36:00 UTC

[jira] [Updated] (IGNITE-13030) Calcite integration. Push projections to scans and avoid reading full row when possible

     [ https://issues.apache.org/jira/browse/IGNITE-13030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Kondakov updated IGNITE-13030:
------------------------------------
    Priority: Minor  (was: Major)

> Calcite integration. Push projections to scans and avoid reading full row when possible
> ---------------------------------------------------------------------------------------
>
>                 Key: IGNITE-13030
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13030
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Roman Kondakov
>            Priority: Minor
>
> Currently {{IngiteTableScan}} supports only embedded filters. If it supports also embedded projections (see {{ProjectableFilterableTable}} in Calcite), it will be able to push these projections down to page memory scans in order to avoid full row reading.
> For example for the query 
> {code:java}
> SELECT _val FROM tbl
> {code}
> we can read only values.
> Moreover, we can establish index-only scans in some cases. For example, if the column {{depId}} is indexed, we can the execute query
> {code:java}
> SELECT depId FROM emp
> {code}
> using only index tree, without reading rows at all.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)