private static ComparisonOperator mapComparisonOperator(
        ComparisonExpression.Operator operator) {
      switch (operator) {
        case LESS_THAN:
          return ComparisonOperator.LESS_THAN;
        case GREATER_THAN:
          return ComparisonOperator.GREATER_THAN;
        case EQUAL:
          return ComparisonOperator.EQUAL;
        case NOT_EQUAL:
          return ComparisonOperator.NOT_EQUAL;
        case LESS_THAN_OR_EQUAL:
          return ComparisonOperator.LESS_THAN_OR_EQUAL;
        case GREATER_THAN_OR_EQUAL:
          return ComparisonOperator.GREATER_THAN_OR_EQUAL;
        case IS_DISTINCT_FROM:
          return ComparisonOperator.IS_DISTINCT_FROM;
        default:
          throw new IllegalArgumentException("Unsupported comparison operator: " + operator);
      }
    }
A helper method for recursively parsing an Expression.

@param expression The expression currently being parsed
@param counter Used to sequentially assign parameter indices
@param symbolToIndex Records the index corresponding to each symbol, ensuring that the same
    index is used when the same symbol reappears
@return The constructed Computation expression tree
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/process/rowpattern/expression/Computation.java