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

jackietien pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/tsfile.git


The following commit(s) were added to refs/heads/develop by this push:
     new 45485410 Fix StringStatistics data type
45485410 is described below

commit 4548541044ec8612b5bc3ecd67c380766827a70c
Author: shuwenwei <[email protected]>
AuthorDate: Thu Jul 18 11:17:19 2024 +0800

    Fix StringStatistics data type
---
 .../org/apache/tsfile/file/metadata/statistics/StringStatistics.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/java/tsfile/src/main/java/org/apache/tsfile/file/metadata/statistics/StringStatistics.java
 
b/java/tsfile/src/main/java/org/apache/tsfile/file/metadata/statistics/StringStatistics.java
index de6cccc3..5997fb9b 100644
--- 
a/java/tsfile/src/main/java/org/apache/tsfile/file/metadata/statistics/StringStatistics.java
+++ 
b/java/tsfile/src/main/java/org/apache/tsfile/file/metadata/statistics/StringStatistics.java
@@ -48,7 +48,7 @@ public class StringStatistics extends Statistics<Binary> {
 
   @Override
   public TSDataType getType() {
-    return TSDataType.BLOB;
+    return TSDataType.STRING;
   }
 
   /** The output of this method should be identical to the method 
"serializeStats(outputStream)". */

Reply via email to