how to save a Dataset[row] as text file in spark? : <p>I would like to save a Dataset[Row] as text file with a specific name in specific location.
Can anybody help me?</p>

<p>I have tried this, but this produce me a folder (LOCAL_FOLDER_TEMP/filename) with a parquet file inside of it:
Dataset.write.save(LOCAL_FOLDER_TEMP+filename)</p>

<p>Thanks</p>
