-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19984/
-----------------------------------------------------------
(Updated June 17, 2014, 1:49 a.m.)
Review request for hive.
Changes
-------
Addressed comments
Bugs: HIVE-6561
https://issues.apache.org/jira/browse/HIVE-6561
Repository: hive-git
Description
-------
Hive CLI has -i option. From Hive CLI help:
{code}
...
-i <filename> Initialization SQL file
...
{code}
However, Beeline has no such option:
{code}
xzhang@xzlt:~/apa/hive3$
./packaging/target/apache-hive-0.14.0-SNAPSHOT-bin/apache-hive-0.14.0-SNAPSHOT-bin/bin/beeline
-u jdbc:hive2:// -i hive.rc
...
Connected to: Apache Hive (version 0.14.0-SNAPSHOT)
Driver: Hive JDBC (version 0.14.0-SNAPSHOT)
Transaction isolation: TRANSACTION_REPEATABLE_READ
-i (No such file or directory)
Property "url" is required
Beeline version 0.14.0-SNAPSHOT by Apache Hive
...
{code}
Diffs (updated)
-----
beeline/src/java/org/apache/hive/beeline/BeeLine.java dcdd6f2
beeline/src/java/org/apache/hive/beeline/BeeLineOpts.java 44cabdf
beeline/src/java/org/apache/hive/beeline/Commands.java 94f74d2
beeline/src/main/resources/BeeLine.properties 697c29a
itests/hive-unit/src/test/java/org/apache/hive/beeline/TestBeeLineWithArgs.java
4d15e3c
Diff: https://reviews.apache.org/r/19984/diff/
Testing
-------
Thanks,
Navis Ryu