access_time 3m languageEnglish
more_vert

Spark SQL - Average (AVG) Calculation

visibility 54 comment 0
Spark provides flexible APIs to perform average calculation against a data set. You can either use Spark SQL or fluent APIs to implement it. The follow code snippet shows you how to use AVG directly via Spark SQL. You can run the query against Hive databases or directly in a Spark-SQL shell. from ...
thumb_up 0
comment Comments
No comments yet.