wecharyu commented on code in PR #5223: URL: https://github.com/apache/hive/pull/5223#discussion_r2267252580
########## standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaHook.java: ########## @@ -226,4 +227,16 @@ default void preDropPartitions(Table table, EnvironmentContext context, List<Pair<Integer, byte[]>> partExprs) throws MetaException { // Do nothing } + + /** + * Called before dropping the partitions from the table in the metastore during ALTER TABLE DROP PARTITION. + * @param table table whose partition needs to be dropped + * @param context context of the operation + * @param partsSpec request partition specification + * @throws MetaException + */ + default void preDropPartitions(Table table, Review Comment: Make sense. -- 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