----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/51695/#review150368 -----------------------------------------------------------
jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java (line 100) <https://reviews.apache.org/r/51695/#comment218340> Since this import is not needed. jdbc/src/test/org/apache/hive/jdbc/TestRunInitialSQL.java (line 39) <https://reviews.apache.org/r/51695/#comment218339> Can we rename this class to TestJdbcDriver? - cheng xu On Sept. 23, 2016, 3:31 p.m., Jianguo Tian wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/51695/ > ----------------------------------------------------------- > > (Updated Sept. 23, 2016, 3:31 p.m.) > > > Review request for hive and cheng xu. > > > Bugs: HIVE-5867 > https://issues.apache.org/jira/browse/HIVE-5867 > > > Repository: hive-git > > > Description > ------- > > HIVE-5867: JDBC driver and beeline should support executing an initial SQL > script > > > Diffs > ----- > > jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java > ad96a6466dd1aadab71fc261f55be4639dcbe2bf > jdbc/src/java/org/apache/hive/jdbc/Utils.java > 3161566994d6c6e01de9d88a6e87295684619ffa > jdbc/src/test/org/apache/hive/jdbc/TestRunInitialSQL.java PRE-CREATION > > Diff: https://reviews.apache.org/r/51695/diff/ > > > Testing > ------- > > TestRunInitialSQL.java is a JUnit test class which can test parseInitFile() > method of HiveConnection.java. I test some positive cases and negative cases > to look that if these cases could be parse into SQL statement which could be > executed successfully. > > > Thanks, > > Jianguo Tian > >