arina-ielchiieva commented on a change in pull request #1830: DRILL-7333: Set
container record count where missing
URL: https://github.com/apache/drill/pull/1830#discussion_r308000592
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/HashJoinBatch.java
##########
@@ -1250,8 +1263,10 @@ public HashJoinBatch(HashJoinPOP popConfig,
FragmentContext context,
partitions = new HashPartition[0];
// get the output batch size from config.
- final int configuredBatchSize = (int)
context.getOptions().getOption(ExecConstants.OUTPUT_BATCH_SIZE_VALIDATOR);
- final double avail_mem_factor = (double)
context.getOptions().getOption(ExecConstants.OUTPUT_BATCH_SIZE_AVAIL_MEM_FACTOR_VALIDATOR);
+ final int configuredBatchSize = (int) context.getOptions().getOption(
Review comment:
If option is long why we use int?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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