@Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if ((obj == null) || (getClass() != obj.getClass())) {
      return false;
    }
    IfExpression o = (IfExpression) obj;
    return Objects.equals(condition, o.condition)
        && Objects.equals(trueValue, o.trueValue)
        && Objects.equals(falseValue, o.falseValue);
  }
IF(v1,v2[,v3]): CASE WHEN v1 THEN v2 [ELSE v3] END
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/sql/ast/IfExpression.java