Mastering Apache Spark

Updated a month ago

lalit lakhotia (@lalitlakhotia1) started discussion #143

a year ago · 0 comments


Windowed Aggregates (aka window functions) are functions that perform a calculation on a group of records (called a window) that are in some relation to the current record.

Window Aggregates (Edit this file)

Can we do Window Aggregation on UDAF?

No description provided.
陈浩 @bettermouse commented 6 months ago

Using Window Functions

Spark SQL supports three kinds of window functions: ranking functions, analytic functions, and aggregate functions. The available ranking functions and analytic functions are summarized in the table below. For aggregate functions, users can use any existing aggregate function as a window function.


I think we can use UDAF

to join this conversation on GitBook. Already have an account? Sign in to comment

You’re not receiving notifications from this thread.

1 participant