maheshk114 commented on a change in pull request #2573:
URL: https://github.com/apache/hive/pull/2573#discussion_r686678482



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/DirectSqlUpdateStat.java
##########
@@ -647,6 +653,12 @@ public long getNextCSIdForMPartitionColumnStatistics(long 
numStats) throws MetaE
       jdoConn = pm.getDataStoreConnection();
       dbConn = (Connection) (jdoConn.getNativeConnection());
 
+      if (sqlGenerator.getDbProduct().isMYSQL()) {

Review comment:
       that will be costlier than setting the value in DB. As we dont know how 
many sql statements are getting executed in side a connection.




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