Member since
10-06-2016
32
Posts
2
Kudos Received
4
Solutions
11-27-2016
01:39 PM
Hi, Its not working for me ..Unable to cast the column data type.Here is my code.I am getting only null values.Thanks! val df4 = businessDF.withColumn("Estimated Gross Loss1", $"Estimated Gross Loss".cast("Int")).select($"Estimated Gross Loss1" as "Estimated Gross Loss")
... View more