rdblue commented on a change in pull request #2694:
URL: https://github.com/apache/iceberg/pull/2694#discussion_r654570127
##########
File path: core/src/main/java/org/apache/iceberg/BaseTableScan.java
##########
@@ -223,20 +223,27 @@ public TableScan ignoreResiduals() {
} else {
splitSize = targetSplitSize();
}
+ Preconditions.checkArgument(splitSize > 0, "Split size should be greater
than zero. Found: %s", splitSize);
Review comment:
@shardulm94 could you update the error messages here?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]