Aleksey Plekhanov created IGNITE-17890:
------------------------------------------

             Summary: 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


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)

Reply via email to