RussellSpitzer commented on a change in pull request #1569:
URL: https://github.com/apache/iceberg/pull/1569#discussion_r502494061
##########
File path: api/src/test/java/org/apache/iceberg/transforms/TestBucketing.java
##########
@@ -275,6 +276,14 @@ public void testUUIDHash() {
hashBytes(uuidBytes), bucketFunc.hash(uuid));
}
+ @Test
+ public void testVerifiedIllegalNumBucket() {
+ AssertHelpers.assertThrows("Should fail if numBucket is less than or equal
to zero",
+ IllegalArgumentException.class,
+ "The number of bucket must larger than zero",
Review comment:
bucket -> buckets , but here it matters less since it's just a test
message
----------------------------------------------------------------
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]