This document shows how to use Spark SQL to create a Dataset, perform operations like sorting and displaying results, and compute descriptive statistics. It creates a Dataset using spark.range, shows the items, sorts in descending order and shows the first 5, and calculates descriptive stats.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
19 views1 page
Data Set
This document shows how to use Spark SQL to create a Dataset, perform operations like sorting and displaying results, and compute descriptive statistics. It creates a Dataset using spark.range, shows the items, sorts in descending order and shows the first 5, and calculates descriptive stats.