Taewoo Kim has submitted this change and it was merged. Change subject: ASTERIXDB-1233: Fixed the bulk-loading with an inverted index on an open-type field ......................................................................
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 <[email protected]> Reviewed-by: Ildar Absalyamov <[email protected]> --- M algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/operators/logical/visitors/UsedVariableVisitor.java 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: Ildar Absalyamov: Looks good to me, approved Jenkins: Verified 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); -- To view, visit https://asterix-gerrit.ics.uci.edu/739 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: merged Gerrit-Change-Id: I70e90101053d5aa5f5fc2d883135e82c4b7b677a Gerrit-PatchSet: 2 Gerrit-Project: hyracks Gerrit-Branch: master Gerrit-Owner: Taewoo Kim <[email protected]> Gerrit-Reviewer: Ildar Absalyamov <[email protected]> Gerrit-Reviewer: Jenkins <[email protected]> Gerrit-Reviewer: Taewoo Kim <[email protected]>
