chinnaraolalam commented on code in PR #4881:
URL: https://github.com/apache/hive/pull/4881#discussion_r1411551662
##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/PartitionIterable.java:
##########
@@ -156,6 +158,9 @@ public PartitionIterable(Hive db, Table table, Map<String,
String> partialPartit
*/
public PartitionIterable(Hive db, Table table, Map<String, String>
partialPartitionSpec,
int batchSize, boolean getColStats) throws
HiveException {
+ if (batchSize < 1) {
Review Comment:
User want to customise the value as per his need and zero is not valid batch
size, can block here instead of falling back to default. Let user configure as
per his need.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]