Big Data Technology & Architecture
Jul 8, 2020 · Big Data
Using Spark SQL User-Defined Functions, Aggregate Functions, and Window Functions
This article demonstrates how to create and register custom scalar UDFs, untyped and type‑safe aggregate functions (UDAF and Aggregator) in Spark SQL, and how to apply window functions such as ROW_NUMBER, providing complete Scala code examples and execution results.
AggregatorBig DataSQL
0 likes · 16 min read
