jeudi 7 juin 2018

Hive DataBase Mocking For spark Testing

I have a file with hive sqls, I read the file and create the tables in the hive using the sparkcontext.sql

How i can test this method. Is there is a way to mock the HiveDatabase to test whether the tables are created.

Aucun commentaire:

Enregistrer un commentaire