vikramahuja1001 commented on code in PR #4912:
URL: https://github.com/apache/hive/pull/4912#discussion_r1413388127


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionIterable.java:
##########
@@ -164,6 +164,9 @@ public PartitionIterable(Collection<Partition> 
ptnsProvided) {
    * a Hive object and a table object, and a partial partition spec.
    */
   public PartitionIterable(IMetaStoreClient msc, Table table, int batch_size) 
throws MetastoreException {
+    if (batch_size < 1) {
+      throw new MetastoreException("Batch Size for Partition Iterable should 
be > 0");

Review Comment:
   Changed the exception 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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to