commit | 58a9df3c5ede5afec3f7aa4ca20db3b3d7aeb0fa | [log] [tgz] |
---|---|---|
author | Taewoo Kim <wangsaeu@yahoo.com> | Mon Mar 21 20:00:56 2016 -0700 |
committer | Taewoo Kim <wangsaeu@yahoo.com> | Mon Mar 21 21:13:37 2016 -0700 |
tree | 0cdf4835dc1d25ac965a146c2e3b6834981466e2 | |
parent | d680e144bf5a3c003d4c9cfcac07a00fda980483 [diff] |
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 <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Ildar Absalyamov <ildar.absalyamov@gmail.com>
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 @@ 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);