You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ca...@apache.org on 2023/04/23 03:31:30 UTC
[iotdb] branch for_tsbs updated: spotless
This is an automated email from the ASF dual-hosted git repository.
caogaofei pushed a commit to branch for_tsbs
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/for_tsbs by this push:
new 44314b1511 spotless
44314b1511 is described below
commit 44314b15112aee8bc2fc7325d80b7f7eb726448f
Author: Beyyes <cg...@foxmail.com>
AuthorDate: Sun Apr 23 11:31:09 2023 +0800
spotless
---
.../org/apache/iotdb/db/mpp/plan/parser/StatementGenerator.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/StatementGenerator.java b/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/StatementGenerator.java
index eda033d239..aa0b9de287 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/StatementGenerator.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/plan/parser/StatementGenerator.java
@@ -89,7 +89,6 @@ import org.apache.iotdb.service.rpc.thrift.TSQueryTemplateReq;
import org.apache.iotdb.service.rpc.thrift.TSRawDataQueryReq;
import org.apache.iotdb.service.rpc.thrift.TSSetSchemaTemplateReq;
import org.apache.iotdb.service.rpc.thrift.TSUnsetSchemaTemplateReq;
-import org.apache.iotdb.tsfile.common.constant.TsFileConstant;
import org.apache.iotdb.tsfile.file.metadata.enums.CompressionType;
import org.apache.iotdb.tsfile.file.metadata.enums.TSDataType;
import org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding;
@@ -629,8 +628,7 @@ public class StatementGenerator {
if ("".equals(prefix)) {
measurements.add(Collections.singletonList(measurementName));
} else {
- measurements.add(
- Collections.singletonList(prefix + PATH_SEPARATOR + measurementName));
+ measurements.add(Collections.singletonList(prefix + PATH_SEPARATOR + measurementName));
}
dataTypes.add(Collections.singletonList(dataType));
encodings.add(Collections.singletonList(encoding));
@@ -648,8 +646,7 @@ public class StatementGenerator {
if ("".equals(prefix)) {
thisMeasurements.add(alignedPrefix.get(prefix).get(i));
} else {
- thisMeasurements.add(
- prefix + PATH_SEPARATOR + alignedPrefix.get(prefix).get(i));
+ thisMeasurements.add(prefix + PATH_SEPARATOR + alignedPrefix.get(prefix).get(i));
}
thisDataTypes.add(alignedDataTypes.get(prefix).get(i));
thisEncodings.add(alignedEncodings.get(prefix).get(i));