Maybe you can check this PR? https://github.com/apache/spark/pull/16399
Thanks, Xiao 2017-02-15 15:05 GMT-08:00 KhajaAsmath Mohammed <mdkhajaasm...@gmail.com>: > Hi, > > I am using spark temporary tables to write data back to hive. I have seen > weird behavior of .hive-staging files after job completion. does anyone > know how to delete them or dont get created while writing data into hive. > > Thanks, > Asmath >