Reply
Champion Alumni
Posts: 196
Registered: ‎11-18-2014

Spark Unit Test That reads a Hive Table

Hello!

 

I'm trying to make a unit test in spark that reads from a hive table

As far as I saw I have to extend QueryTest with TestHiveSingleton

 

However, I cannot manage to import QueryTest!

(which is supposed to be in org.apache.spark.sql)

 

I'm already imported the spark_sql_2.10. I tried to import the assembly also (no results).

 

Note: I am in CDH 5.8.2

 

 

Thank you!

 

 

GHERMAN Alina
New Contributor
Posts: 1
Registered: ‎05-29-2018

Re: Spark Unit Test That reads a Hive Table

Please did you solve the problem ?

New Contributor
Posts: 1
Registered: ‎06-28-2018

Re: Spark Unit Test That reads a Hive Table

Any resolution for the above one?
Announcements