You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Caican Cai (Jira)" <ji...@apache.org> on 2024/11/03 10:56:00 UTC

[jira] [Assigned] (CALCITE-6668) Support Is_false Operator and Is_true Operator in Arrow adapter

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

Caican Cai reassigned CALCITE-6668:
-----------------------------------

    Assignee: Caican Cai

> Support Is_false Operator and Is_true Operator in Arrow adapter
> ---------------------------------------------------------------
>
>                 Key: CALCITE-6668
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6668
>             Project: Calcite
>          Issue Type: Bug
>          Components: arrow-adapter
>    Affects Versions: 1.38.0
>            Reporter: Caican Cai
>            Assignee: Caican Cai
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.39.0
>
>
> The filter in the current code does not support the Is_false Operator and Is_true Operator
> {code:java}
>     case EQUALS:
>       return translateBinary("equal", "=", (RexCall) node);
>     case NOT_EQUALS:
>       return translateBinary("not_equal", "<>", (RexCall) node);
>     case LESS_THAN:
>       return translateBinary("less_than", ">", (RexCall) node);
>     case LESS_THAN_OR_EQUAL:
>       return translateBinary("less_than_or_equal_to", ">=", (RexCall) node);
>     case GREATER_THAN:
>       return translateBinary("greater_than", "<", (RexCall) node);
>     case GREATER_THAN_OR_EQUAL:
>       return translateBinary("greater_than_or_equal_to", "<=", (RexCall) node);
>     case IS_NULL:
>       return translateUnary("isnull", (RexCall) node);
>     case IS_NOT_NULL:
>       return translateUnary("isnotnull", (RexCall) node);
> {code}



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