As we know that, due to restricted environment for HDPCD-Spark exam, can't download any 3rd party jars.
And as we also know that, we can save/load DF to/from JSON/ORC/PARQUET file formats.
However, there is an issue with CSV files.
Hence, my question is that:
How to save the DataFrame to a CSV file using pure Spark Core or Spark SQL APIs? & vice-a-versa.
Thanks.