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/05/18 19:27:00 UTC
[jira] [Created] (IGNITE-13030) Calcite integration. Push
projections to scans and avoid reading full row when possible
Roman Kondakov created IGNITE-13030:
---------------------------------------
Summary: 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
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)