Expand description
Window Function packages for DataFusion.
This crate contains a collection of various window function packages for DataFusion, implemented using the extension API.
Modules§
cume_dist
window function implementation- Fluent-style API for creating
Expr
s lead
andlag
window function implementations- Convenience macros for defining a user-defined window function and associated expression API (fluent style).
ntile
window function implementation- Implementation of
rank
,dense_rank
, andpercent_rank
window functions, which can be evaluated at runtime during query execution. row_number
window function implementation
Macros§
- Create a
WindowFunction
expression that exposes a fluent API which you can use to build more complex expressions. - Defines a user-defined window function.
- Lazily initializes a user-defined window function exactly once when called concurrently. Repeated calls return a reference to the same instance.
Functions§
- Returns all default window functions
- Registers all enabled packages with a
FunctionRegistry