QuestionQ139
VerifiedAnalyzing QueriesA data analyst must rapidly estimate the number of unique user sessions in a dataset with billions of records in Databricks SQL. Because of performance constraints, the analyst must ensure that the query executes efficiently while producing results with acceptable accuracy.
What is the primary advantage of using APPROX_COUNT_DISTINCT rather than COUNT_DISTINCT in this scenario?
Community Discussion