hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jianguo Tian <jianguo.t...@intel.com>
Subject Re: Review Request 51695: HIVE-5867: JDBC driver and beeline should support executing an initial SQL script
Date Mon, 26 Sep 2016 06:21:44 GMT

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

(Updated Sept. 26, 2016, 6:21 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/TestJdbcDriver.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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message