dengweisysu commented on code in PR #1118:
URL: https://github.com/apache/orc/pull/1118#discussion_r878035909


##########
java/core/src/java/org/apache/orc/impl/WriterImpl.java:
##########
@@ -300,7 +303,7 @@ private boolean checkMemory() throws IOException {
         LOG.debug("ORC writer " + physicalWriter + " size = " + size +
                       " limit = " + memoryLimit);
       }
-      if (size > memoryLimit) {
+      if (size > memoryLimit || rowsInStripe > stripeRowCount) {

Review Comment:
   @guiyanakuang done



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

Reply via email to