Databricks Certified Associate Developer for Apache Spark

Databricks Certified Associate Developer for Apache Spark

Get started today

Ultimate access to all questions.


Identify the error in the following code block intended to return the exact number of distinct values in the division column of DataFrame storesDF:

Code block:

storesDF.agg(approx_count_distinct(col("division")).alias("divisionDistinct"))





Comments

Loading comments...