You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hu...@apache.org on 2023/03/27 01:58:16 UTC
[iotdb] 10/13: fix aligned bug
This is an automated email from the ASF dual-hosted git repository.
hui pushed a commit to branch lmh/fileScan
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 76eff499bf3ffe3caff0b6bf3f3d620a2c793f5b
Author: Minghui Liu <li...@foxmail.com>
AuthorDate: Tue Mar 21 10:27:19 2023 +0800
fix aligned bug
---
.../db/mpp/execution/operator/source/FileAggregationScanUtil.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/source/FileAggregationScanUtil.java b/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/source/FileAggregationScanUtil.java
index 12290b4ebc..e51fee215e 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/source/FileAggregationScanUtil.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/source/FileAggregationScanUtil.java
@@ -167,6 +167,10 @@ public class FileAggregationScanUtil {
private void consumeTimeseriesMetadata(
PartialPath devicePath, TimeseriesMetadata timeseriesMetadata) {
+ if (timeseriesMetadata.getMeasurementId().isEmpty()) {
+ // skip time
+ return;
+ }
PartialPath fullPath = devicePath.concatNode(timeseriesMetadata.getMeasurementId());
if (!pathPattern.matchFullPath(fullPath)) {
return;