@Override
    public Expression rewriteLogicalExpression(
        LogicalExpression node, Void context, ExpressionTreeRewriter<Void> treeRewriter) {
      return combinePredicates(node.getOperator(), extractPredicates(node));
    }
Flattens and removes duplicate conjuncts or disjuncts. E.g.,

<p>a = 1 AND a = 1

<p>rewrites to:

<p>a = 1
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/iterative/rule/RemoveDuplicateConditions.java