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

jiangtian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new c520c39ff2f use getter for_encryptParam and change tsfile version 
(#15185)
c520c39ff2f is described below

commit c520c39ff2f888ff95cf7a3272d7f667f209085d
Author: jintao zhu <[email protected]>
AuthorDate: Wed Mar 26 09:28:26 2025 +0800

    use getter for_encryptParam and change tsfile version (#15185)
---
 .../iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java    | 4 ++--
 pom.xml                                                               | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java
 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java
index 54bed1a4b9e..64562ae8659 100644
--- 
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java
+++ 
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java
@@ -350,8 +350,8 @@ public class LoadTsFileAnalyzer implements AutoCloseable {
 
       // check whether the encrypt type of the tsfile is supported
       final EncryptParameter param = reader.getEncryptParam();
-      if (!Objects.equals(param.getType(), EncryptUtils.encryptParam.getType())
-          || !Arrays.equals(param.getKey(), 
EncryptUtils.encryptParam.getKey())) {
+      if (!Objects.equals(param.getType(), 
EncryptUtils.getEncryptParameter().getType())
+          || !Arrays.equals(param.getKey(), 
EncryptUtils.getEncryptParameter().getKey())) {
         throw new SemanticException("The encryption way of the TsFile is not 
supported.");
       }
 
diff --git a/pom.xml b/pom.xml
index 56da450f9df..dd979eb485c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -175,7 +175,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.1.0-250324-SNAPSHOT</tsfile.version>
+        <tsfile.version>2.1.0-250325-SNAPSHOT</tsfile.version>
     </properties>
     <!--
     if we claim dependencies in dependencyManagement, then we do not claim

Reply via email to