This is an automated email from the ASF dual-hosted git repository.
jackietien 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 eb500c9db70 Fix mods file contains writable view
eb500c9db70 is described below
commit eb500c9db70bfd56e4a842ce108b5e44144beca7
Author: Chen YZ <[email protected]>
AuthorDate: Tue Sep 5 16:10:39 2023 +0800
Fix mods file contains writable view
---
.../org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java
index 7701e6b8dda..aaa9edacff2 100644
---
a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java
+++
b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/AnalyzeVisitor.java
@@ -2863,9 +2863,8 @@ public class AnalyzeVisitor extends
StatementVisitor<Analysis, MPPQueryContext>
sourcePathOfAliasSeries =
logicalViewSchema.getSourcePathIfWritable();
deletePatternSet.add(sourcePathOfAliasSeries);
deduplicatedDevicePaths.add(sourcePathOfAliasSeries.getDevice());
- } else {
- deletePatternSet.remove(measurementPath);
}
+ deletePatternSet.remove(measurementPath);
} else {
deduplicatedDevicePaths.add(measurementPath.getDevice());
}