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, 3 weeks agobp_a_user
5 months, 3 weeks agoazure_bimonster
11 months agothanab
1 year, 3 months agoRam459
1 year, 4 months agonewusername
1 year, 2 months ago