vericast / spylon-kernel

Jupyter kernel for scala and spark
Other
187 stars 38 forks source link

Write NULL File to HDFS #50

Closed Lihengwannafly closed 5 years ago

Lihengwannafly commented 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.