You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by et...@apache.org on 2026/10/02 05:36:18 UTC
(iceberg) branch main updated: Delta: Use POSIX separator for data file paths (#17872)
This is an automated email from the ASF dual-hosted git repository.
nastra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new f051a32bdf Delta: Use POSIX separator for data file paths (#17872)
f051a32bdf is described below
commit f051a32bdf243114d148e8d2db1a937f12bfc6ab
Author: Charlie Chen <jc...@uw.edu>
AuthorDate: Thu Oct 1 22:36:10 2026 -0700
Delta: Use POSIX separator for data file paths (#17872)
---
.../org/apache/iceberg/delta/BaseSnapshotDeltaLakeTableAction.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/delta-lake/src/main/java/org/apache/iceberg/delta/BaseSnapshotDeltaLakeTableAction.java b/delta-lake/src/main/java/org/apache/iceberg/delta/BaseSnapshotDeltaLakeTableAction.java
index 69bbaed719..c170aeed91 100644
--- a/delta-lake/src/main/java/org/apache/iceberg/delta/BaseSnapshotDeltaLakeTableAction.java
+++ b/delta-lake/src/main/java/org/apache/iceberg/delta/BaseSnapshotDeltaLakeTableAction.java
@@ -24,7 +24,6 @@ import io.delta.standalone.actions.Action;
import io.delta.standalone.actions.AddFile;
import io.delta.standalone.actions.RemoveFile;
import io.delta.standalone.exceptions.DeltaStandaloneException;
-import java.io.File;
import java.net.URI;
import java.net.URLDecoder;
import java.nio.charset.StandardCharsets;
@@ -454,7 +453,7 @@ class BaseSnapshotDeltaLakeTableAction implements SnapshotDeltaLakeTable {
if (dataFileUri.isAbsolute()) {
return decodedPath;
} else {
- return tableRoot + File.separator + decodedPath;
+ return tableRoot + "/" + decodedPath;
}
}
}