Skip to content

Commit 5953dea

Browse files
committed
Formatting issues
1 parent da7a577 commit 5953dea

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

ice/src/main/java/com/altinity/ice/cli/internal/cmd/Describe.java

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import java.util.Map;
2424
import java.util.Set;
2525
import javax.annotation.Nullable;
26-
2726
import org.apache.iceberg.*;
2827
import org.apache.iceberg.catalog.Namespace;
2928
import org.apache.iceberg.catalog.TableIdentifier;
@@ -100,27 +99,26 @@ public static void run(RESTCatalog catalog, String target, boolean json, Option.
10099
}
101100

102101
private static Table.Data gatherTableData(
103-
RESTCatalog catalog,
104-
TableIdentifier tableId,
105-
Set<Describe.Option> optionsSet) throws IOException {
102+
RESTCatalog catalog, TableIdentifier tableId, Set<Describe.Option> optionsSet)
103+
throws IOException {
106104

107105
org.apache.iceberg.Table table = catalog.loadTable(tableId);
108106
Snapshot snapshot = table.currentSnapshot();
109107
Table.Snapshot snapshotInfo = null;
110108
if (snapshot != null) {
111109
snapshotInfo =
112-
new Table.Snapshot(
113-
snapshot.sequenceNumber(),
114-
snapshot.snapshotId(),
115-
snapshot.parentId(),
116-
snapshot.timestampMillis(),
117-
Instant.ofEpochMilli(snapshot.timestampMillis()).toString(),
118-
Instant.ofEpochMilli(snapshot.timestampMillis())
119-
.atZone(ZoneId.systemDefault())
120-
.format(DateTimeFormatter.ISO_OFFSET_DATE_TIME),
121-
snapshot.operation(),
122-
snapshot.summary(),
123-
snapshot.manifestListLocation());
110+
new Table.Snapshot(
111+
snapshot.sequenceNumber(),
112+
snapshot.snapshotId(),
113+
snapshot.parentId(),
114+
snapshot.timestampMillis(),
115+
Instant.ofEpochMilli(snapshot.timestampMillis()).toString(),
116+
Instant.ofEpochMilli(snapshot.timestampMillis())
117+
.atZone(ZoneId.systemDefault())
118+
.format(DateTimeFormatter.ISO_OFFSET_DATE_TIME),
119+
snapshot.operation(),
120+
snapshot.summary(),
121+
snapshot.manifestListLocation());
124122
}
125123

126124
List<Table.Metrics> metrics = null;

0 commit comments

Comments
 (0)