@TestOnly
  public Operator getRoot() {
    return root;
  }
Calculate the estimated running memory size of the pipeline.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/memory/PipelineMemoryEstimator.java