Review Board 1.7.22


Add 'show version' command to Hive CLI

Review Request #8958 - Created Jan. 15, 2013 and updated

Zhuoluo Yang
HIVE-1151
Reviewers
hive
brocknoland, carl
hive
We add a simple ddl grammar, called "show version".
The version info is generated automatically while compiling.
zhuoluo@zhuoluo-Latitude-E6420:~$ hive --version
Hive 0.11.0-SNAPSHOT
Subversion git://github.com/apache/hive.git on branch trunk -r 34c95e9e6ab2110653af20e6d34a8fe02b04198d
Compiled by zhuoluo on Wed Jan 16 12:26:12 CST 2013
zhuoluo@zhuoluo-Latitude-E6420:~$ hive
Hive history file=/tmp/zhuoluo/hive_job_log_zhuoluo_201301161232_1201027344.txt
hive> show version;
OK
0.11.0-SNAPSHOT from 34c95e9e6ab2110653af20e6d34a8fe02b04198d by zhuoluo on Wed Jan 16 12:26:12 CST 2013
git://github.com/apache/hive.git on branch trunk
Time taken: 0.522 seconds, Fetched: 2 row(s)
hive> 
Total:
6
Open:
1
Resolved:
5
Dropped:
0
Status:
From:
Review request changed
Updated (Jan. 18, 2013, 6:28 a.m.)
Another patch as Brock's comments.
Ship it!
Posted (Feb. 7, 2013, 7:59 p.m.)
Ship It!
  1. Note I am not a committer.