spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ishwardeep Singh <ishwardeep.si...@impetus.co.in>
Subject Re: Unable to query existing hive table from spark sql 1.3.0
Date Tue, 04 Aug 2015 05:58:37 GMT
Your table is in which database - default or result. By default spark will
try to look for table in "default" database.

If the table exists in the "result" database try to prefix the table name
with database name like "select * from result.salarytest" or set the
database by executing "use <database name>" 




--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Unable-to-query-existing-hive-table-from-spark-sql-1-3-0-tp24108p24121.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message