RE: Spark-sql showing no table

2016-07-24 Thread Vikash Kumar
sqlContext.implicits._ From: mina lee [mailto:mina...@apache.org] Sent: Friday, July 22, 2016 3:06 PM To: users@zeppelin.apache.org Subject: Re: Spark-sql showing no table Hi Vikash, if you want to render dataframe as a table with sqlContext, you will need to run z.show(tables) On Thu, Jul 14

Re: Spark-sql showing no table

2016-07-22 Thread mina lee
> > > *Thanks and regards,* > > *Vikash Kumar* > > > > *From:* Mohit Jaggi [mailto:mohitja...@gmail.com] > *Sent:* Wednesday, July 13, 2016 10:24 PM > *To:* users@zeppelin.apache.org > *Subject:* Re: Spark-sql showing no table > > > > make sure you use

RE: Spark-sql showing no table

2016-07-13 Thread Vikash Kumar
I am creating a sqlContext from exiting sc. Var tables = sqlContext.sql("show tables") Thanks and regards, Vikash Kumar From: Mohit Jaggi [mailto:mohitja...@gmail.com] Sent: Wednesday, July 13, 2016 10:24 PM To: users@zeppelin.apache.org Subject: Re: Spark-sql showin

Re: Spark-sql showing no table

2016-07-13 Thread Mohit Jaggi
make sure you use a hive context > On Jul 13, 2016, at 12:42 AM, Vikash Kumar wrote: > > Hi all, > I am using spark with scala to read phoenix tables and > register as temporary table. Which I am able to do. > After that when I am running query : >

Spark-sql showing no table

2016-07-13 Thread Vikash Kumar
Hi all, I am using spark with scala to read phoenix tables and register as temporary table. Which I am able to do. After that when I am running query : %sql show tables Its giving all possible output, but when I am run