Hi, You can use sqlContext.sql("use <your database>") before use dataframe.saveAsTable
Hope it could be helpful Cheers Gen On Sun, Feb 21, 2016 at 9:55 AM, Glen <cng...@gmail.com> wrote: > For dataframe in spark, so the table can be visited by hive. > > -- > Jacky Wang >