Used SparkSession, Works now. Thanks.
On Wed, Nov 30, 2016 at 11:02 PM, Deepak Sharma
wrote:
> In Spark > 2.0 , spark session was introduced that you can use to query
> hive as well.
> Just make sure you create spark session with enableHiveSupport() option.
>
> Thanks
> Deepak
>
> On Thu, Dec 1,
In Spark > 2.0 , spark session was introduced that you can use to query
hive as well.
Just make sure you create spark session with enableHiveSupport() option.
Thanks
Deepak
On Thu, Dec 1, 2016 at 12:27 PM, shyla deshpande
wrote:
> I am Spark 2.0.2 , using DStreams because I need Cassandra Sink.
I am Spark 2.0.2 , using DStreams because I need Cassandra Sink.
How do I create SQLContext? I get the error SQLContext deprecated.
*[image: Inline image 1]*
*Thanks*