You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Ishwardeep Singh <is...@impetus.co.in> on 2015/08/04 07:58:37 UTC

Re: Unable to query existing hive table from spark sql 1.3.0

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