Skip to content

Commit b549c78

Browse files
committed
fix java 8
1 parent d330064 commit b549c78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fluss-lake/fluss-lake-lance/src/test/java/com/alibaba/fluss/lake/lance/tiering/LanceArrowWriterTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import org.apache.arrow.vector.ipc.message.ArrowRecordBatch;
3333
import org.junit.jupiter.api.Test;
3434

35+
import java.util.Arrays;
3536
import java.util.List;
3637
import java.util.concurrent.atomic.AtomicInteger;
3738
import java.util.concurrent.atomic.AtomicLong;
@@ -44,7 +45,7 @@ public class LanceArrowWriterTest {
4445
@Test
4546
public void test() throws Exception {
4647
try (BufferAllocator allocator = new RootAllocator(Long.MAX_VALUE)) {
47-
List<DataField> fields = List.of(new DataField("column1", DataTypes.INT()));
48+
List<DataField> fields = Arrays.asList(new DataField("column1", DataTypes.INT()));
4849

4950
RowType rowType = new RowType(fields);
5051
final int totalRows = 125;

0 commit comments

Comments
 (0)