unical1988 commented on code in PR #728: URL: https://github.com/apache/incubator-xtable/pull/728#discussion_r2297174651
########## xtable-core/src/main/java/org/apache/xtable/hudi/HudiPathUtils.java: ########## @@ -28,4 +28,8 @@ public static String getPartitionPath(Path tableBasePath, Path filePath) { int endIndex = pathStr.length() - fileName.length() - 1; return endIndex <= startIndex ? "" : pathStr.substring(startIndex, endIndex); } + + public static String getPartitionPathValue(Path tableBasePath, Path filePath) { + return getPartitionPath(tableBasePath, filePath).split("=")[1]; + } Review Comment: Or i can use the hudi logic for that in parquet? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@xtable.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org