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

ChenKai updated CALCITE-5019:
-----------------------------
    Description: 
{code:sql}
select a from ProjectableFilterableTable where b = 'xx'
{code}

The ProjectableFilterableTable will scan two times when projections and filters 
are different columns.

  was:
{code:sql}
select a from ProjectableFilterableTable where b = 'xx'
{code}

The ProjectableFilterableTable will scan twice times when projections and 
filters are different columns.


> Avoid multiple scans when table is ProjectableFilterableTable
> -------------------------------------------------------------
>
>                 Key: CALCITE-5019
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5019
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.30.0
>            Reporter: ChenKai
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code:sql}
> select a from ProjectableFilterableTable where b = 'xx'
> {code}
> The ProjectableFilterableTable will scan two times when projections and 
> filters are different columns.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to