DanielZhu58 commented on code in PR #6198:
URL: https://github.com/apache/hive/pull/6198#discussion_r2771600451


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:
##########
@@ -10056,7 +10063,18 @@ protected String describeResult() {
       }
       @Override
       protected Boolean getSqlResult(GetHelper<Boolean> ctx) throws 
MetaException {
-        return directSql.deleteTableColumnStatistics(getTable().getId(), 
colNames, engine);
+        MetaStoreDirectSql d = directSql; // snapshot
+        if (d == null) {

Review Comment:
   Acknowledged. This is over protection. This whole function would be invoked 
when directSql is not null. 



-- 
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]

Reply via email to