dengweisysu commented on code in PR #1118:
URL: https://github.com/apache/orc/pull/1118#discussion_r876531442
##########
java/core/src/java/org/apache/orc/impl/WriterImpl.java:
##########
@@ -300,7 +302,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 I use orc.stripe.row.count instead if rows_between_checks
larger than orc.stripe.row.count.
--
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]