File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
ice/src/main/java/com/altinity/ice/cli/internal/iceberg Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 2525import org .apache .iceberg .io .CloseableIterable ;
2626import org .apache .iceberg .io .CloseableIterator ;
2727import org .apache .iceberg .io .InputFile ;
28- import org .apache .iceberg .mapping .NameMapping ;
2928import org .apache .iceberg .parquet .Parquet ;
3029import 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 }
You can’t perform that action at this time.
0 commit comments