Description
Compression options are added for CSV, JSON and TEXT data sources (SPARK-12872, SPARK-12872 and SPARK-13503). As they are exposed to end-users, they should be documented at DataFrameWriter.
I am not too sure if I can set the Type as Documentation. Please change this if it is inappropriate.