Skip to content

Commit 0228ccf

Browse files
committed
Fmt
1 parent 7052c52 commit 0228ccf

File tree

1 file changed

+2
-5
lines changed
  • ice/src/main/java/com/altinity/ice/cli/internal/iceberg

1 file changed

+2
-5
lines changed

ice/src/main/java/com/altinity/ice/cli/internal/iceberg/Sorting.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import org.apache.iceberg.io.CloseableIterable;
2626
import org.apache.iceberg.io.CloseableIterator;
2727
import org.apache.iceberg.io.InputFile;
28-
import org.apache.iceberg.mapping.NameMapping;
2928
import org.apache.iceberg.parquet.Parquet;
3029
import org.apache.iceberg.types.Types;
3130

@@ -100,16 +99,14 @@ public String toUnsortedDiffString() {
10099
}
101100
}
102101

103-
public static boolean isSorted(
104-
InputFile inputFile, Schema tableSchema, SortOrder sortOrder)
102+
public static boolean isSorted(InputFile inputFile, Schema tableSchema, SortOrder sortOrder)
105103
throws IOException {
106104
return checkSorted(inputFile, tableSchema, sortOrder).ok;
107105
}
108106

109107
// TODO: check metadata first to avoid full scan when unsorted
110108
public static SortCheckResult checkSorted(
111-
InputFile inputFile, Schema tableSchema, SortOrder sortOrder)
112-
throws IOException {
109+
InputFile inputFile, Schema tableSchema, SortOrder sortOrder) throws IOException {
113110
if (sortOrder.isUnsorted()) {
114111
return new SortCheckResult(false);
115112
}

0 commit comments

Comments
 (0)