public boolean getHadProcessedAggregationFunction() {
    return this.hasProcessedAggregationFunction;
  }
This function will check the expression you put in, find the TimeSeriesOperand which has
LogicalViewSchema. These TimeSeriesOperand will be replaced with logical view expression, and
this function will record paths that appeared in view expression. The logical view you replaced
have INCOMPLETE path information, and use PartialPath in TimeSeriesOperand. This may cause
ERROR, therefore you should call completeMeasurementPathCausedByView() later, make sure the
path info is complete and using MeasurementPath with full MeasurementSchema.

@param expression the expression you want to check.
@return pair of replaced expression and whether replacement was happened. 'True' means the
    expression you put in contains logical view, and has been replaced. 'False' means there is
    no need to modify the expression you put in.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/expression/visitor/ReplaceLogicalViewVisitor.java