public Context withNavigation(Navigation navigation) {
      PatternRecognitionContext patternRecognitionContext =
          new PatternRecognitionContext(this.patternRecognitionContext.get().labels, navigation);
      return new Context(
          scope, functionInputTypes, Optional.of(patternRecognitionContext), correlationSupport);
    }
@return the common supertype between the value type and subquery type
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/analyzer/ExpressionAnalyzer.java