Skip to content

Commit 71c140f

Browse files
Fix scala format errors
1 parent 1f95feb commit 71c140f

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

kernel/kernel-api/src/main/java/io/delta/kernel/internal/snapshot/SnapshotManager.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,9 @@ public SnapshotImpl getSnapshotForTimestamp(
147147
public static void verifyDeltaVersionsContiguous(List<Long> versions, Path tablePath) {
148148
for (int i = 1; i < versions.size(); i++) {
149149
if (versions.get(i) != versions.get(i - 1) + 1) {
150-
long expectedVersion = versions.get(i - 1) + 1;
151-
long foundVersion = versions.get(i);
152150
throw new InvalidTableException(
153151
tablePath.toString(),
154-
String.format(
155-
"Missing delta files: versions are not contiguous. Expected version %d after "
156-
+ "version %d, but found version %d. All versions: %s",
157-
expectedVersion, versions.get(i - 1), foundVersion, versions));
152+
String.format("Missing delta files: versions are not contiguous: (%s)", versions));
158153
}
159154
}
160155
}

0 commit comments

Comments
 (0)