Skip to content

SizeBasedWindowFunction — Declarative Window Aggregate Functions with Window Size

SizeBasedWindowFunction is the <> of the <> for <> that require the <> for calculation.

[[contract]] [source, scala]


package org.apache.spark.sql.catalyst.expressions

trait SizeBasedWindowFunction extends AggregateWindowFunction { // No required properties (vals and methods) that have no implementation }


.SizeBasedWindowFunction Contract [cols="1m,2",options="header",width="100%"] |=== | Property | Description

| n | [[n]] Size of the current window as a <> expression with ++window__partition__size++ name, IntegerType data type and not nullable |===

[[implementations]] .SizeBasedWindowFunctions (Direct Implementations) [cols="1,2",options="header",width="100%"] |=== | SizeBasedWindowFunction | Description

| <> | [[CumeDist]] Window function expression for <> standard function (Dataset API) and <> SQL function

| NTile | [[NTile]]

| PercentRank | [[PercentRank]] |===


Last update: 2020-10-21