If I'm using myDF.write.csv("wherever"), how can I set the numeric format for stored data? EG, if I do:
val t = spark.sql("SELECT cast(1000000000000 as double) as aNum")
t.write.csv("WXYZ")
and then review WXYZ, I will find I have 1.0E12. How could I change this for all doubles such that I get 1000000000000.00?