deniskuzZ commented on a change in pull request #1688:
URL: https://github.com/apache/hive/pull/1688#discussion_r530242536
##########
File path:
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java
##########
@@ -385,6 +391,26 @@ public static String queryToString(Configuration conf,
String query, boolean inc
return sb.toString();
}
+ /**
+ * This is only for testing, it does not use the connectionPool from
TxnHandler!
+ * @param conf
+ * @param query
+ * @throws Exception
+ */
+ @VisibleForTesting
+ public static void executeUpdate(Configuration conf, String query)
Review comment:
That's not a test class. Production code becomes massive because of that.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]