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

Switch to Threaded View
Hive, mail # user - Re: show tables in bin does not display the tables


Copy link to this message
-
Re: show tables in bin does not display the tables
Sai Sai 2013-03-05, 11:48
Hello

I have noticed when i execute the following command from hive shell in diff folders it behaves in diff ways and was wondering if this is right:

show tables;

from the bin folder under my hive install folder it just shows tab_name:
****************************

myUser@ubuntu:~/work/hive-0.10.0-bin/bin$ ./hive
hive> show tables;
OK
tab_name
Time taken: 5.268 seconds
****************************

But when i excecute the same command from my install folder:

****************************
myUser@ubuntu:~/work/hive-0.10.0-bin/bin$ cd ..
hive> show tables;
OK
tab_name
employees
sample_pages
Time taken: 13.547 seconds
****************************

Please let me know.
Thanks
Sai