Indhumathi27 commented on code in PR #5568:
URL: https://github.com/apache/hive/pull/5568#discussion_r1871258402
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreChecker.java:
##########
@@ -440,12 +440,13 @@ void findUnknownPartitions(Table table, Set<Path>
missingPartDirs,
partColNames.add(fSchema.getName());
}
+ String defaultPartName = MetastoreConf.getVar(conf,
MetastoreConf.ConfVars.DEFAULTPARTITIONNAME);
Review Comment:
I think, this solution may not work in all scenarios. Since
**hive.exec.default.partition.name** is session configurable, that means, we
can use different default partition names with multiple inserts. And when user
does MSCK repair, if we take current configuration value of
hive.exec.default.partition.name, it can fail.
--
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]