The code block shown below contains an error. The code block is intended to return the exact number of distinct values in column division in DataFrame storesDF. Identify the error.
Code block:
storesDF.agg(approx_count_distinct(col(“division”)).alias(“divisionDistinct”))
bp_a_user
5 months, 1 week agobp_a_user
5 months, 1 week agoazure_bimonster
10 months, 2 weeks agothanab
1 year, 3 months agoRam459
1 year, 4 months agonewusername
1 year, 1 month ago