We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 862bb4a commit 6f8c74cCopy full SHA for 6f8c74c
datafusion/expr/src/udwf.rs
@@ -355,6 +355,10 @@ pub trait WindowUDFImpl: Debug + Send + Sync {
355
}
356
357
/// The [`Field`] of the final result of evaluating this window function.
358
+ ///
359
+ /// Call `field_args.name()` to get the fully qualified name for defining
360
+ /// the [`Field`]. For a complete example see the implementation in the
361
+ /// [Basic Example](WindowUDFImpl#basic-example) section.
362
fn field(&self, field_args: WindowUDFFieldArgs) -> Result<Field>;
363
364
/// Allows the window UDF to define a custom result ordering.
0 commit comments