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

Ruben Q L resolved CALCITE-5019.
--------------------------------
    Resolution: Fixed

Fixed via 
https://github.com/apache/calcite/commit/dcbc493bf699d961427952c5efc047b76d859096

Thanks [~514793...@qq.com] for the patch!

> 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.29.0
>            Reporter: ChenKai
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.30.0
>
>          Time Spent: 1.5h
>  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