I have write a databse to spark ware house example tableA from spark-shell and I checked the database is there (as below)
+-------+----------------+------------------