I have derived a dataframe from oracle using Sqlcontext
and I have registered it as temp table tb1
.
I have another dataframe which is derived from hive using HiveContext
and I registered this as table tb2
.
When I am trying to access these two tables using HiveContext
I am getting the error like Unable to find tb1 and when try it with sqlcontext
.
I am getting error like Unable to find tb2
.
Any help on this please.
I'm doing it in Scala of-course.