docs: private static Optional<Expression> tryResolveMissingExpression(PlanBuilder subPlan, Expression expression)
      {
          Expression rewritten = subPlan.rewrite(expression);
          if (rewritten != expression) {
              return Optional.of(rewritten);
          }
          return Optional.empty();
      }