default Expression partialEvaluate(PartialInput input) {
    return switch (this) {
      case Not(var expr) -> not(expr.partialEvaluate(input));
      case And(var exprs) -> and(exprs.stream().map(e -> e.partialEvaluate(input)).toList());
      case Or(var exprs) -> or(exprs.stream().map(e -> e.partialEvaluate(input)).toList());
      default -> this;
    };
  }
Returns a copy of this expression where any parts that the value is known replaced with {@link #TRUE} or
{@link #FALSE} for a set of features where {@link PartialInput} are known ahead of time (ie. a hive-partitioned
parquet input file).
planetiler-core/src/main/java/com/onthegomap/planetiler/expression/Expression.java