spark dataframe 如何保存到本地

2017-06-19  本文已影响0人  zy_now

在 Spark 2.x 里面,可以直接使用以下命令

df.write.format("csv").save(filepath)
上一篇下一篇

猜你喜欢

热点阅读