You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by wa...@apache.org on 2016/03/22 05:18:51 UTC

incubator-asterixdb-hyracks git commit: ASTERIXDB-1233: Fixed the bulk-loading with an inverted index on an open-type field

Repository: incubator-asterixdb-hyracks
Updated Branches:
  refs/heads/master d680e144b -> 58a9df3c5


ASTERIXDB-1233: Fixed the bulk-loading with an inverted index on an open-type field

Change-Id: I70e90101053d5aa5f5fc2d883135e82c4b7b677a
Reviewed-on: https://asterix-gerrit.ics.uci.edu/739
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Ildar Absalyamov <il...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/commit/58a9df3c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/tree/58a9df3c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/diff/58a9df3c

Branch: refs/heads/master
Commit: 58a9df3c5ede5afec3f7aa4ca20db3b3d7aeb0fa
Parents: d680e14
Author: Taewoo Kim <wa...@yahoo.com>
Authored: Mon Mar 21 20:00:56 2016 -0700
Committer: Taewoo Kim <wa...@yahoo.com>
Committed: Mon Mar 21 21:13:37 2016 -0700

----------------------------------------------------------------------
 .../algebra/operators/logical/visitors/UsedVariableVisitor.java   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/blob/58a9df3c/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/logical/visitors/UsedVariableVisitor.java
----------------------------------------------------------------------
diff --git a/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/logical/visitors/UsedVariableVisitor.java b/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/logical/visitors/UsedVariableVisitor.java
index 2feea5d..9f62124 100644
--- a/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/logical/visitors/UsedVariableVisitor.java
+++ b/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/logical/visitors/UsedVariableVisitor.java
@@ -399,6 +399,9 @@ public class UsedVariableVisitor implements ILogicalOperatorVisitor<Void, Void>
         for (Mutable<ILogicalExpression> e : op.getSecondaryKeyExpressions()) {
             e.getValue().getUsedVariables(usedVariables);
         }
+        if (op.getFilterExpression() != null) {
+            op.getFilterExpression().getValue().getUsedVariables(usedVariables);
+        }
         if (op.getAdditionalFilteringExpressions() != null) {
             for (Mutable<ILogicalExpression> e : op.getAdditionalFilteringExpressions()) {
                 e.getValue().getUsedVariables(usedVariables);