You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Pereslegin (Jira)" <ji...@apache.org> on 2023/08/24 06:14:00 UTC

[jira] [Updated] (IGNITE-17890) Calcite engine. Support index scan on boolean field

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

Pavel Pereslegin updated IGNITE-17890:
--------------------------------------
    Labels: calcite  (was: calcite calcite3-required)

> Calcite engine. Support index scan on boolean field
> ---------------------------------------------------
>
>                 Key: IGNITE-17890
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17890
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Aleksey Plekhanov
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>              Labels: calcite
>             Fix For: 2.15
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Currently, if table has index on boolean field it can't be used, since queries like
> {code:java}
> SELECT * FROM tbl WHERE a = TRUE
> {code}
> Simplified by Calcite to
> {code:java}
> SELECT * FROM tbl WHERE a {code}
> Condition `{{{}a{}}}` is not supported for building search bounds (see \{{RexUtils.isSupportedTreeComparison()}}) and such an index can't be used. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)