Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - Review Request: HIVE-3589, show partition/show tblproperties command should accept database name


Copy link to this message
-
Review Request: HIVE-3589, show partition/show tblproperties command should accept database name
fangkun cao 2013-06-09, 04:03

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

Review request for hive and Navis Ryu.
Description
-------

https://issues.apache.org/jira/browse/HIVE-3589
This addresses bug HIVE-3589.
    https://issues.apache.org/jira/browse/HIVE-3589
Diffs
-----

  http://svn.apache.org/repos/asf/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g 1489269
  http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/queries/clientpositive/show_partitions.q 1489269
  http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/queries/clientpositive/show_tblproperties.q 1489269
  http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/show_partitions.q.out 1489269
  http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/results/clientpositive/show_tblproperties.q.out 1489269

Diff: https://reviews.apache.org/r/11753/diff/
Testing
-------

hive (db1)> show TBLPROPERTIES  default.srcpart;
OK

numPartitions 6
numFiles 6
last_modified_by kun.cao
last_modified_time 1369040765
transient_lastDdlTime 1369040765
numRows 3000
totalSize 34872
rawDataSize 31872
Time taken: 0.392 seconds, Fetched: 9 row(s)
hive (db1)> show partitions default.srcpart;    
OK
ds=2008-04-08/hr=16
ds=2008-04-08/hr=20
ds=2008-04-08/hr=21
ds=2008-04-09/hr=11
ds=2008-04-09/hr=12
ds=2008-05-11/hr=12
ds=2008-12-31/hr=11
ds=2008-12-31/hr=12
Time taken: 0.194 seconds, Fetched: 8 row(s)
Thanks,

fangkun cao