@Override
  public RelNode visit(RelNode other) {
    RelNode visitedNode = super.visit(other);
    if (visitedNode instanceof Filter) {
      return rewriteFilter((Filter) visitedNode);
    }

    return visitedNode;
  }
Sorts conditions in a filter predicate to accelerate query processing
based on selectivity and compute cost. Currently it is not applied recursively,
i.e., it is only applied to top predicates in the condition.
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveFilterSortPredicates.java