amansinha100 commented on a change in pull request #1334: DRILL-6385: Support
JPPD feature
URL: https://github.com/apache/drill/pull/1334#discussion_r199334413
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/HashJoinPOP.java
##########
@@ -86,8 +105,17 @@ public void setMaxAllocation(long maxAllocation) {
*/
@Override
public boolean isBufferedOperator(QueryContext queryContext) {
- // In case forced to use a single partition - do not consider this a
buffered op (when memory is divided)
- return queryContext == null ||
- 1 <
(int)queryContext.getOptions().getOption(ExecConstants.HASHJOIN_NUM_PARTITIONS_VALIDATOR)
;
+ // In case forced to use a single partition - do not consider this a
buffered op (when memory is divided)
+ return queryContext==null||
Review comment:
pls keep the original formatting (indentation and spaces etc.).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services