public Group parsePath(Group root, String[] path) {
        Object cur = root, last = null;
        int lastIdx = path.length - 1;
        for (int i = 0; i <= lastIdx; i++) {
            if (cur instanceof Group) {
                Object value = getFieldValue((Group) cur, path[i]);
                last = cur;
                cur = value;
            } else if (i == lastIdx) {
                return (Group) last;
            } else {
                return null;
            }
            if (cur == null) {
                return null;
            }
        }
        return (Group) last;
    }
Resolve to the parent Group of the path for subsequent value taking
@param root Starting Group for Analysis
@param path Analyze the path, separated by dots "."
@return The parent group of the path
inlong-sdk/transform-sdk/src/main/java/org/apache/inlong/sdk/transform/decode/ParquetSourceData.java