xiangfu0 commented on code in PR #10294:
URL: https://github.com/apache/pinot/pull/10294#discussion_r1110325438


##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/operator/HashJoinOperator.java:
##########
@@ -101,7 +101,7 @@ public HashJoinOperator(MultiStageOperator 
leftTableOperator, MultiStageOperator
     Preconditions.checkState(_leftRowSize > 0, "leftRowSize has to be greater 
than zero:" + _leftRowSize);
     _resultSchema = node.getDataSchema();
     _resultRowSize = _resultSchema.size();
-    Preconditions.checkState(_resultRowSize > _leftRowSize,
+    Preconditions.checkState(_resultRowSize >= _leftRowSize,
         "Result row size" + _leftRowSize + " has to be greater than left row 
size:" + _leftRowSize);

Review Comment:
   nit: greater than or equal to



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to