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
9 months agoazure_bimonster
9 months, 2 weeks agoAnweee
9 months, 3 weeks agogowthamsara
10 months, 2 weeks ago