-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/51695/
-----------------------------------------------------------

(Updated Sept. 22, 2016, 6:49 a.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 (updated)
-----

  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

Reply via email to