You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ji...@apache.org on 2020/03/11 08:21:10 UTC

[incubator-iotdb] branch batch_method_calls_0 created (now 8ac2ec7)

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

jiangtian pushed a change to branch batch_method_calls_0
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


      at 8ac2ec7  fix ConcatPathOptimizer

This branch includes the following new commits:

     new 8ac2ec7  fix ConcatPathOptimizer

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-iotdb] 01/01: fix ConcatPathOptimizer

Posted by ji...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 8ac2ec7bca5ba3dbd7924eb56f2ec172efe98755
Author: jt2594838 <jt...@163.com>
AuthorDate: Wed Mar 11 16:21:00 2020 +0800

    fix ConcatPathOptimizer
---
 .../org/apache/iotdb/db/qp/strategy/optimizer/ConcatPathOptimizer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/qp/strategy/optimizer/ConcatPathOptimizer.java b/server/src/main/java/org/apache/iotdb/db/qp/strategy/optimizer/ConcatPathOptimizer.java
index 32a9a50..0cf280f 100644
--- a/server/src/main/java/org/apache/iotdb/db/qp/strategy/optimizer/ConcatPathOptimizer.java
+++ b/server/src/main/java/org/apache/iotdb/db/qp/strategy/optimizer/ConcatPathOptimizer.java
@@ -119,7 +119,7 @@ public class ConcatPathOptimizer implements ILogicalOptimizer {
     if(!isAlignByDevice){
       sfwOperator.setFilterOperator(concatFilter(prefixPaths, filter, filterPaths));
     }
-    filter.setPathSet(filterPaths);
+    sfwOperator.getFilterOperator().setPathSet(filterPaths);
     // GROUP_BY_DEVICE leaves the concatFilter to PhysicalGenerator to optimize filter without prefix first
 
     return sfwOperator;