Crate datafusion_functions_window

Source
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 Exprs
  • lead and lag 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, and percent_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§