@Override
  public Analysis visitShowLogicalView(
      final ShowLogicalViewStatement showLogicalViewStatement, final MPPQueryContext context) {
    context.setQueryType(QueryType.READ);
    final Analysis analysis = new Analysis();
    analysis.setRealStatement(showLogicalViewStatement);

    final PathPatternTree patternTree = new PathPatternTree();
    patternTree.appendPathPattern(showLogicalViewStatement.getPathPattern());
    final SchemaPartition schemaPartitionInfo = partitionFetcher.getSchemaPartition(patternTree);
    analysis.setSchemaPartitionInfo(schemaPartitionInfo);

    analysis.setRespDatasetHeader(DatasetHeaderFactory.getShowLogicalViewHeader());
    return analysis;
  }
@param pathList the paths you want to check
@param schemaTree the given schema tree
@return if all paths you give can be found in schema tree, return a pair of view paths and
    null; else return view paths and the non-exist path.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java