You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2025/01/25 07:02:00 UTC

(iotdb) 25/31: Bump TsFile version to 2.0.0-250118-SNAPSHOT

This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch rc/2.0.1
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit d8967added1b0110ed5e87fd8ad9dd58889954ed
Author: Jiang Tian <jt...@163.com>
AuthorDate: Sun Jan 19 09:12:58 2025 +0800

    Bump TsFile version to 2.0.0-250118-SNAPSHOT
    
    (cherry picked from commit bc5fdaed8d963f4fad67384a0f2951cb50dbf05b)
---
 .../read/reader/chunk/MemAlignedChunkLoaderTest.java         |  2 +-
 .../dataregion/read/reader/chunk/MemChunkLoaderTest.java     | 12 ++++++------
 pom.xml                                                      |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/read/reader/chunk/MemAlignedChunkLoaderTest.java b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/read/reader/chunk/MemAlignedChunkLoaderTest.java
index e94a75f55a7..3ab77538b1f 100644
--- a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/read/reader/chunk/MemAlignedChunkLoaderTest.java
+++ b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/read/reader/chunk/MemAlignedChunkLoaderTest.java
@@ -82,7 +82,7 @@ public class MemAlignedChunkLoaderTest {
     Mockito.when(statistics6.hasNullValue(2)).thenReturn(true);
 
     Statistics timeStatistics = Mockito.mock(Statistics.class);
-    Mockito.when(timeStatistics.getCount()).thenReturn(2L);
+    Mockito.when(timeStatistics.getCount()).thenReturn(2);
 
     Mockito.when(chunkMetadata1.getStatistics()).thenReturn(timeStatistics);
     Mockito.when(chunkMetadata1.getTimeStatistics()).thenReturn(timeStatistics);
diff --git a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/read/reader/chunk/MemChunkLoaderTest.java b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/read/reader/chunk/MemChunkLoaderTest.java
index a9bdc453d7a..af91f1ddebc 100644
--- a/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/read/reader/chunk/MemChunkLoaderTest.java
+++ b/iotdb-core/datanode/src/test/java/org/apache/iotdb/db/storageengine/dataregion/read/reader/chunk/MemChunkLoaderTest.java
@@ -67,7 +67,7 @@ public class MemChunkLoaderTest {
     Mockito.when(chunk.getChunkMetaData()).thenReturn(chunkMetadata1);
     Mockito.when(chunk.getPointReader()).thenReturn(null);
     Statistics statistics = Mockito.mock(Statistics.class);
-    Mockito.when(statistics.getCount()).thenReturn(2L);
+    Mockito.when(statistics.getCount()).thenReturn(2);
 
     Mockito.when(chunkMetadata1.getStatistics()).thenReturn(statistics);
     Mockito.when(chunkMetadata1.getDataType()).thenReturn(TSDataType.BOOLEAN);
@@ -135,7 +135,7 @@ public class MemChunkLoaderTest {
     Mockito.when(chunk.getChunkMetaData()).thenReturn(chunkMetadata1);
     Mockito.when(chunk.getPointReader()).thenReturn(null);
     Statistics statistics = Mockito.mock(Statistics.class);
-    Mockito.when(statistics.getCount()).thenReturn(2L);
+    Mockito.when(statistics.getCount()).thenReturn(2);
 
     Mockito.when(chunkMetadata1.getStatistics()).thenReturn(statistics);
     Mockito.when(chunkMetadata1.getDataType()).thenReturn(TSDataType.INT32);
@@ -203,7 +203,7 @@ public class MemChunkLoaderTest {
     Mockito.when(chunk.getChunkMetaData()).thenReturn(chunkMetadata1);
     Mockito.when(chunk.getPointReader()).thenReturn(null);
     Statistics statistics = Mockito.mock(Statistics.class);
-    Mockito.when(statistics.getCount()).thenReturn(2L);
+    Mockito.when(statistics.getCount()).thenReturn(2);
 
     Mockito.when(chunkMetadata1.getStatistics()).thenReturn(statistics);
     Mockito.when(chunkMetadata1.getDataType()).thenReturn(TSDataType.INT64);
@@ -271,7 +271,7 @@ public class MemChunkLoaderTest {
     Mockito.when(chunk.getChunkMetaData()).thenReturn(chunkMetadata1);
     Mockito.when(chunk.getPointReader()).thenReturn(null);
     Statistics statistics = Mockito.mock(Statistics.class);
-    Mockito.when(statistics.getCount()).thenReturn(2L);
+    Mockito.when(statistics.getCount()).thenReturn(2);
 
     Mockito.when(chunkMetadata1.getStatistics()).thenReturn(statistics);
     Mockito.when(chunkMetadata1.getDataType()).thenReturn(TSDataType.FLOAT);
@@ -339,7 +339,7 @@ public class MemChunkLoaderTest {
     Mockito.when(chunk.getChunkMetaData()).thenReturn(chunkMetadata1);
     Mockito.when(chunk.getPointReader()).thenReturn(null);
     Statistics statistics = Mockito.mock(Statistics.class);
-    Mockito.when(statistics.getCount()).thenReturn(2L);
+    Mockito.when(statistics.getCount()).thenReturn(2);
 
     Mockito.when(chunkMetadata1.getStatistics()).thenReturn(statistics);
     Mockito.when(chunkMetadata1.getDataType()).thenReturn(TSDataType.DOUBLE);
@@ -407,7 +407,7 @@ public class MemChunkLoaderTest {
     Mockito.when(chunk.getChunkMetaData()).thenReturn(chunkMetadata1);
     Mockito.when(chunk.getPointReader()).thenReturn(null);
     Statistics statistics = Mockito.mock(Statistics.class);
-    Mockito.when(statistics.getCount()).thenReturn(2L);
+    Mockito.when(statistics.getCount()).thenReturn(2);
 
     Mockito.when(chunkMetadata1.getStatistics()).thenReturn(statistics);
     Mockito.when(chunkMetadata1.getDataType()).thenReturn(TSDataType.TEXT);
diff --git a/pom.xml b/pom.xml
index 625ffaa8941..59cd7cb2451 100644
--- a/pom.xml
+++ b/pom.xml
@@ -167,7 +167,7 @@
         <thrift.version>0.14.1</thrift.version>
         <xz.version>1.9</xz.version>
         <zstd-jni.version>1.5.6-3</zstd-jni.version>
-        <tsfile.version>2.0.0-250113-SNAPSHOT</tsfile.version>
+        <tsfile.version>2.0.0-250118-SNAPSHOT</tsfile.version>
     </properties>
     <!--
     if we claim dependencies in dependencyManagement, then we do not claim