From a38d6ceb608dd259131d677a9dc633a6269cd763 Mon Sep 17 00:00:00 2001 From: Jingsong Date: Thu, 1 Aug 2024 15:00:01 +0800 Subject: [PATCH] fix --- .../src/test/java/org/apache/paimon/utils/ObjectsCacheTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paimon-core/src/test/java/org/apache/paimon/utils/ObjectsCacheTest.java b/paimon-core/src/test/java/org/apache/paimon/utils/ObjectsCacheTest.java index 40cb0bcdaa0f..8a4f0b0612e7 100644 --- a/paimon-core/src/test/java/org/apache/paimon/utils/ObjectsCacheTest.java +++ b/paimon-core/src/test/java/org/apache/paimon/utils/ObjectsCacheTest.java @@ -47,7 +47,7 @@ public void test() throws IOException { new SegmentsCache<>(1024, MemorySize.ofKibiBytes(5), Long.MAX_VALUE), new StringSerializer(), RowType.of(DataTypes.STRING()), - k -> null, + k -> 1L, (k, size) -> CloseableIterator.adapterForIterator( map.get(k).stream()