paul-rogers commented on a change in pull request #1981: DRILL-7583: Remove
STOP status from operator outcome
URL: https://github.com/apache/drill/pull/1981#discussion_r379849248
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/HashJoinMemoryCalculatorImpl.java
##########
@@ -448,7 +445,7 @@ public boolean shouldSpill() {
if (reserveHash) {
// Include the hash sizes for the batch
- consumedMemory += ((long) IntVector.VALUE_WIDTH) *
partitionStatsSet.getNumInMemoryRecords();
+ consumedMemory += (IntVector.VALUE_WIDTH) *
partitionStatsSet.getNumInMemoryRecords();
Review comment:
This resulted from my IDE's efforts to remove unneeded casts. It is not
smart enough to remove unneeded parenthesis. Fixed.
----------------------------------------------------------------
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