hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anilkumar Kalshetti <anilkalshe...@gmail.com>
Subject Re: Doubt Regards SPARK
Date Thu, 18 Jun 2015 10:26:40 GMT
Hi,

Please check below things

Spark SQL commands.

> show databases;

>show tables;

Note: database and tables are already created using Hive database, and
stored in Hive Metastore

> For “show databases”  command, it list databases ‘default’ and ‘dbanil’..


> For “show tables”  command, it list table  ‘order’

a] First run below command to change database:

use ‘dbanil’ ;

b] then run below command, which list table ‘order’

show tables;



Thanks,

Anil

Mime
View raw message