Re: Can not query TempTable registered by SQL Context using HiveContext

2015-03-03 Thread shahab
Thanks Michael. I understand now. best, /Shahab On Tue, Mar 3, 2015 at 9:38 PM, Michael Armbrust wrote: > As it says in the API docs > , > tables created with registerTempTable are local to the context that

Re: Can not query TempTable registered by SQL Context using HiveContext

2015-03-03 Thread Michael Armbrust
As it says in the API docs , tables created with registerTempTable are local to the context that creates them: ... The lifetime of this temporary table is tied to the SQLContext >

Can not query TempTable registered by SQL Context using HiveContext

2015-03-03 Thread shahab
Hi, I did an experiment with Hive and SQL context , I queried Cassandra using CassandraAwareSQLContext (a custom SQL context from Calliope) , then I registered the "rdd" as a temp table , next I tried to query it using HiveContext, but it seems that hive context can not see the registered table su