@Override
    public boolean matches(RelOptRuleCall call) {
      Filter filter = call.rel(0);
      if (!HiveCalciteUtil.isDeterministic(filter.getCondition())) {
        return false;
      }
      return true;
    }
Rule that tries to push filter expressions into a join condition and into
the inputs of the join.
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/HiveFilterJoinRule.java