Closed Lihengwannafly closed 5 years ago
train_drop.coalesce(1).write.format("com.databricks.spark.csv").option("header", "true").save("hdfs:////ECommAI/train.csv") I use this code to write file, but the file is null.
train_drop.coalesce(1).write.format("com.databricks.spark.csv").option("header", "true").save("hdfs:////ECommAI/train.csv")
train_drop.coalesce(1).write.format("com.databricks.spark.csv").option("header", "true").save("hdfs:////ECommAI/train.csv")
I use this code to write file, but the file is null.