deniskuzZ commented on code in PR #4902: URL: https://github.com/apache/hive/pull/4902#discussion_r1615611526
########## jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java: ########## @@ -360,8 +393,10 @@ protected HiveConnection(String uri, Properties info, throw new SQLException(new IllegalArgumentException( "Browser mode is not supported in embedded mode")); } - openSession(); - executeInitSql(); + if (initSession) { Review Comment: could we extract this into a helper method, `initSession(bool)`? -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org