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

jiangtian 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 d9e00ebf0 Fix TsFile example compile issue (#396)
d9e00ebf0 is described below

commit d9e00ebf0453b1b5ff545390bd16a46bd2faf58d
Author: Haonan <[email protected]>
AuthorDate: Thu Feb 6 16:31:54 2025 +0800

    Fix TsFile example compile issue (#396)
---
 java/examples/pom.xml                                                   | 1 -
 .../src/main/java/org/apache/tsfile/TsFileWriteAlignedWithTablet.java   | 2 --
 2 files changed, 3 deletions(-)

diff --git a/java/examples/pom.xml b/java/examples/pom.xml
index e71ecf6d1..5a484cfc1 100644
--- a/java/examples/pom.xml
+++ b/java/examples/pom.xml
@@ -27,7 +27,6 @@
         <version>2.1.0-SNAPSHOT</version>
     </parent>
     <artifactId>examples</artifactId>
-    <packaging>pom</packaging>
     <name>TsFile: Java: Examples</name>
     <dependencies>
         <dependency>
diff --git 
a/java/examples/src/main/java/org/apache/tsfile/TsFileWriteAlignedWithTablet.java
 
b/java/examples/src/main/java/org/apache/tsfile/TsFileWriteAlignedWithTablet.java
index ca13fdb36..db48be5d9 100644
--- 
a/java/examples/src/main/java/org/apache/tsfile/TsFileWriteAlignedWithTablet.java
+++ 
b/java/examples/src/main/java/org/apache/tsfile/TsFileWriteAlignedWithTablet.java
@@ -95,8 +95,6 @@ public class TsFileWriteAlignedWithTablet {
       long startValue)
       throws IOException, WriteProcessException {
     Tablet tablet = new Tablet(deviceId, schemas);
-    long[] timestamps = tablet.timestamps;
-    Object[] values = tablet.values;
     long sensorNum = schemas.size();
 
     for (long r = 0; r < rowNum; r++, startValue++) {

Reply via email to