rbalamohan commented on a change in pull request #2489:
URL: https://github.com/apache/hive/pull/2489#discussion_r676262038
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java
##########
@@ -8976,8 +8981,12 @@ private boolean updatePartColumnStatsWithMerge(String
catName, String dbName, St
if (!csNew.getStatsObj().isEmpty()) {
// We don't short-circuit on errors here anymore. That can leave
acid stats invalid.
- result = updatePartitonColStatsInternal(t, csNew,
- request.getValidWriteIdList(), request.getWriteId()) && result;
+ if (MetastoreConf.getBoolVar(getConf(), ConfVars.TRY_DIRECT_SQL)) {
Review comment:
move this getConf computation out of the loop.
--
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]