You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xtable.apache.org by "Harini410 (via GitHub)" <gi...@apache.org> on 2026/10/10 19:55:25 UTC
Re: [PR] fix: Guava compatibility in Hudi partition path validation [incubator-xtable]
Harini410 commented on code in PR #967:
URL: https://github.com/apache/incubator-xtable/pull/967#discussion_r4238999123
##########
xtable-core/src/main/java/org/apache/xtable/hudi/BaseFileUpdatesExtractor.java:
##########
@@ -288,9 +288,9 @@ private String getHudiPartitionPath(Path tableBasePath, InternalDataFile file) {
prefix -> {
Preconditions.checkArgument(
partitionPath.endsWith(prefix),
- "File %s is not under its partition subdirectory %s",
- file.getPhysicalPath(),
- prefix);
+ String.format(
Review Comment:
Good point! I'll update this to construct the error message lazily and preserve the existing validation behavior.
--
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-unsubscribe@xtable.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org