Skip to content

Apache DataFusion SQL Query Engine

fix: Clarify that it is only the name of the field that is ignored (#16052)

Andrew Lamb2f67a7e64fe3
diff --git a/datafusion/expr/src/udf.rs b/datafusion/expr/src/udf.rs
index 208f4e77f7..78bb56bc1c 100644
--- a/datafusion/expr/src/udf.rs
+++ b/datafusion/expr/src/udf.rs
@@ -464,7 +464,7 @@ pub trait ScalarUDFImpl: Debug + Send + Sync {
///
/// # Example creating `Field`
///
- /// Note the [`Field`] is ignored, except for structured types such as
+ /// Note the name of the [`Field`] is ignored, except for structured types such as
/// `DataType::Struct`.
///
/// ```rust