pvary commented on a change in pull request #2780:
URL: https://github.com/apache/hive/pull/2780#discussion_r748293462
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java
##########
@@ -5059,6 +5065,11 @@ private boolean drop_partition_common(RawStore ms,
String catName, String db_nam
tableDataShouldBeDeleted = checkTableDataShouldBeDeleted(tbl,
deleteData);
firePreEvent(new PreDropPartitionEvent(tbl, part, deleteData, this));
mustPurge = isMustPurge(envContext, tbl);
+ try {
+ writeId = getWriteId(envContext);
+ writeTruncatedBase = !deleteData && writeId > 0;
+ } catch (NumberFormatException e) {
+ }
Review comment:
nit: Should we at least log the exception?
--
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]