Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void testMemAlignedChunkLoader() throws IOException {
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void testBooleanMemChunkLoader() throws IOException {
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);
Expand Down Expand Up @@ -135,7 +135,7 @@ public void testInt32MemChunkLoader() throws IOException {
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);
Expand Down Expand Up @@ -203,7 +203,7 @@ public void testInt64MemChunkLoader() throws IOException {
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);
Expand Down Expand Up @@ -271,7 +271,7 @@ public void testFloatMemChunkLoader() throws IOException {
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);
Expand Down Expand Up @@ -339,7 +339,7 @@ public void testDoubleMemChunkLoader() throws IOException {
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);
Expand Down Expand Up @@ -407,7 +407,7 @@ public void testTextMemChunkLoader() throws IOException {
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);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading