[ https://issues.apache.org/jira/browse/DRILL-6549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16535619#comment-16535619 ]
ASF GitHub Bot commented on DRILL-6549: --------------------------------------- Ben-Zvi commented on a change in pull request #1363: DRILL-6549: batch sizing for nested loop join URL: https://github.com/apache/drill/pull/1363#discussion_r200802245 ########## File path: exec/java-exec/src/test/java/org/apache/drill/exec/physical/unit/TestOutputBatchSize.java ########## @@ -2287,6 +2292,341 @@ public void testHashAggMax() throws ExecutionSetupException { opTestBuilder.go(); } + @Test + public void testNestedLoopJoinMultipleOutputBatches() throws Exception { + LogicalExpression functionCallExpr = new FunctionCall("equal", + ImmutableList.of((LogicalExpression) new FieldReference("c1", ExpressionPosition.UNKNOWN), + (LogicalExpression) new FieldReference("c2", ExpressionPosition.UNKNOWN)), + ExpressionPosition.UNKNOWN); + + NestedLoopJoinPOP nestedLoopJoin = new NestedLoopJoinPOP(null, null, JoinRelType.INNER, functionCallExpr); + mockOpContext(nestedLoopJoin, initReservation, maxAllocation); Review comment: Just a comment: This test calls `mockOpContext()`, while the other new NLJ tests don't. I tested all with and without this call, and it seems to make no difference anyway .... ---------------------------------------------------------------- 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: us...@infra.apache.org > batch sizing for nested loop join > --------------------------------- > > Key: DRILL-6549 > URL: https://issues.apache.org/jira/browse/DRILL-6549 > Project: Apache Drill > Issue Type: Improvement > Components: Execution - Relational Operators > Affects Versions: 1.13.0 > Reporter: Padma Penumarthy > Assignee: Padma Penumarthy > Priority: Major > Fix For: 1.15.0 > > > limit output batch size for nested loop join based on memory. -- This message was sent by Atlassian JIRA (v7.6.3#76005)