deniskuzZ commented on code in PR #5823: URL: https://github.com/apache/hive/pull/5823#discussion_r2135618632
########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveAlterHandler.java: ########## @@ -408,7 +413,10 @@ public List<Void> run(List<Partition> input) throws Exception { if (runPartitionMetadataUpdate) { if (cascade || retainOnColRemoval) { - parts = msdb.getPartitions(catName, dbname, name, -1); + PartitionsRequest req = new PartitionsRequest(dbname, name); + req.setCatName(catName); + req.setMaxParts((short) -1); Review Comment: @wecharyu, where do we check the partition limit? Don't we disable it with -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. 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