spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chetan Khatri <chetan.opensou...@gmail.com>
Subject How to print DataFrame.show(100) to text file at HDFS
Date Sat, 13 Apr 2019 13:10:13 GMT
Hello Users,

In spark when I have a DataFrame and do  .show(100) the output which gets
printed, I wants to save as it is content to txt file in HDFS.

How can I do this?

Thanks

Mime
View raw message