Caican Cai created CALCITE-6668:
-----------------------------------

             Summary: Support Is_false Operator and Is_true Operator in Filter
                 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
             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)

Reply via email to