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