protected final PartialPath getPartialPathFromRootToNode(N node) {
    return new PartialPath(getFullPathFromRootToNode(node));
  }
Get partial path from root to node.

@param node node must be concluded in ancestorStack or nextMatchedNode
@return partial path from traverse start node to the specified node
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/schema/tree/AbstractTreeVisitor.java