Skip to content

Commit a3daaaa

Browse files
committed
checkstyle
1 parent 99e6f2b commit a3daaaa

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

paimon-vortex/paimon-vortex-format/src/main/java/org/apache/paimon/format/vortex/VortexRecordsReader.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public class VortexRecordsReader implements FileRecordReader<InternalRow> {
5151
private Array currentArray;
5252
private long currentPosition = -1;
5353

54-
// TODO: batchSize is currently unused — Vortex scan batch size is determined by the file layout.
54+
// TODO: batchSize is currently unused — Vortex scan batch size is determined by the file
55+
// layout.
5556
// Consider passing it to ScanOptions if Vortex adds batch size control in the future.
5657
public VortexRecordsReader(Path path, RowType projectedRowType, int batchSize) {
5758
this.filePath = path;

paimon-vortex/paimon-vortex-format/src/main/java/org/apache/paimon/format/vortex/VortexTypeUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ public DType visit(LocalZonedTimestampType lzTimestampType) {
168168
} else {
169169
unit = DType.TimeUnit.NANOSECONDS;
170170
}
171-
return DType.newTimestamp(
172-
unit, Optional.of("UTC"), lzTimestampType.isNullable());
171+
return DType.newTimestamp(unit, Optional.of("UTC"), lzTimestampType.isNullable());
173172
}
174173

175174
@Override

paimon-vortex/paimon-vortex-format/src/main/java/org/apache/paimon/format/vortex/VortexWriterFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
import org.apache.paimon.fs.PositionOutputStream;
2828
import org.apache.paimon.types.RowType;
2929

30-
import java.io.IOException;
31-
import java.util.function.Supplier;
32-
3330
import org.slf4j.Logger;
3431
import org.slf4j.LoggerFactory;
3532

33+
import java.io.IOException;
34+
import java.util.function.Supplier;
35+
3636
/** A factory to create Vortex {@link FormatWriter}. */
3737
public class VortexWriterFactory implements FormatWriterFactory, SupportsDirectWrite {
3838

paimon-vortex/paimon-vortex-format/src/test/java/org/apache/paimon/format/vortex/VortexReaderWriterTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ public void testWriteAndRead(@TempDir java.nio.file.Path tempDir) throws Excepti
7474
.create(new FileFormatFactory.FormatContext(options, 1024, 1024));
7575

7676
FileIO fileIO = new LocalFileIO();
77-
Path testFile =
78-
new Path(new Path(tempDir.toUri()), "test_data_" + UUID.randomUUID());
77+
Path testFile = new Path(new Path(tempDir.toUri()), "test_data_" + UUID.randomUUID());
7978

8079
// Write data
8180
List<InternalRow> expectedRows = new ArrayList<>();
@@ -129,8 +128,7 @@ public void testWriteAndReadMultipleTypes(@TempDir java.nio.file.Path tempDir)
129128
.create(new FileFormatFactory.FormatContext(options, 1024, 1024));
130129

131130
FileIO fileIO = new LocalFileIO();
132-
Path testFile =
133-
new Path(new Path(tempDir.toUri()), "test_multi_" + UUID.randomUUID());
131+
Path testFile = new Path(new Path(tempDir.toUri()), "test_multi_" + UUID.randomUUID());
134132

135133
// Write data
136134
try (FormatWriter writer =

0 commit comments

Comments
 (0)