Github user ortutay commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/298#discussion_r188778824
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/compile/QueryCompiler.java ---
@@ -314,7 +314,8 @@ protected QueryPlan
compileJoinQuery(JoinCompiler.Strategy strategy, StatementCo
if (i < count - 1) {
fieldPositions[i + 1] = fieldPositions[i] +
(tables[i] == null ? 0 : (tables[i].getColumns().size() -
tables[i].getPKColumns().size()));
}
- hashPlans[i] = new HashSubPlan(i, subPlans[i],
optimized ? null : hashExpressions, joinSpec.isSingleValueOnly(),
keyRangeLhsExpression, keyRangeRhsExpression);
+ boolean usePersistentCache =
joinTable.getStatement().getHint().hasHint(Hint.USE_PERSISTENT_CACHE);
--- End diff --
Done
---