The code block shown below contains an error. The code block is intended to return a new DataFrame from DataFrame storesDF where column storeId is of the type string. Identify the error.
Code block:
storesDF.withColumn(“storeId”, cast(col(“storeId”), StringType()))
JuanitoFM
10 months, 2 weeks agoazure_bimonster
11 months agoAnweee
11 months, 1 week agogowthamsara
12 months ago