daijyc commented on a change in pull request #661: Hive-21833: Ranger
Authorization in Hive based on object ownership
URL: https://github.com/apache/hive/pull/661#discussion_r291864726
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java
##########
@@ -494,7 +494,7 @@ static void prewarm(RawStore rawStore) {
AggrStats aggrStatsAllButDefaultPartition = null;
if (!table.getPartitionKeys().isEmpty()) {
Deadline.startTimer("getPartitions");
- partitions = rawStore.getPartitions(catName, dbName, tblName,
Integer.MAX_VALUE);
+ partitions = rawStore.getPartitions(catName, dbName, tblName,
-1);
Review comment:
This comment is not for this patch. But I guess there are more users will
experience this if they use limit=MAX_VALUE. Maybe we can ask Naveen to treat
MAX_VALUE as -1.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]