'Scala Spark Job is not getting failed even date format changed in Source File
I'm very new to this Website even for Spark. Please help me.
val df = spark.read.format("csv").option("header","true").option("dateFormat", "MM-dd-yyyy").load("file:///home/cloudera/data/zeyodataa.txt")
val df1=df.write.format("csv").option("dateFormat", "MM-dd-yyyy").mode("overwrite").save("/user/cloudera/surendar")
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
