deniskuzZ commented on code in PR #5977: URL: https://github.com/apache/hive/pull/5977#discussion_r2209671378
########## ql/src/java/org/apache/hadoop/hive/ql/ddl/table/partition/PartitionUtils.java: ########## @@ -63,20 +63,28 @@ private PartitionUtils() { */ public static void validatePartitions(HiveConf conf, Map<String, String> partitionSpec) throws SemanticException { Set<String> reservedPartitionValues = new HashSet<>(); + Set<String> reservedSuffixPartitionValues = new HashSet<>(); Review Comment: maybe `reservedPartitionSuffixes` ? also why not do anonymous initialization? ```` Set<String> reservedPartitionSuffixes = new HashSet<String>() {{ add(HiveConf.getVar(conf, ConfVars.METASTORE_INT_ORIGINAL)); add(HiveConf.getVar(conf, ConfVars.METASTORE_INT_ARCHIVED)); add(HiveConf.getVar(conf, ConfVars.METASTORE_INT_EXTRACTED)); }}; ```` -- 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