Skip to content

Commit d8cee8e

Browse files
committed
chore: update docs links.
1 parent 32a4038 commit d8cee8e

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

datafusion/expr/src/expr_schema.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,9 @@ impl ExprSchemable for Expr {
404404
/// - **Binary expressions**: field metadata is empty
405405
/// - **Boolean expressions**: field metadata is empty
406406
/// - **Cast expressions**: determined by the input expression's field metadata handling
407-
/// - **Scalar functions**: Generate metadata via function's `return_field_from_args` method,
407+
/// - **Scalar functions**: Generate metadata via function's [`return_field_from_args`] method,
408408
/// with the default implementation returning empty field metadata
409-
/// - **Aggregate functions**: Generate metadata via function's `return_field` method,
409+
/// - **Aggregate functions**: Generate metadata via function's [`return_field`] method,
410410
/// with the default implementation returning empty field metadata
411411
/// - **Window functions**: field metadata is empty
412412
///
@@ -416,6 +416,9 @@ impl ExprSchemable for Expr {
416416
///
417417
/// So for example, a projected expression `col(c1) + col(c2)` is
418418
/// placed in an output field **named** col("c1 + c2")
419+
///
420+
/// [`return_field_from_args`]: crate::ScalarUDF::return_field_from_args
421+
/// [`return_field`]: crate::AggregateUDF::return_field
419422
fn to_field(
420423
&self,
421424
schema: &dyn ExprSchema,

datafusion/expr/src/logical_plan/plan.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2198,8 +2198,8 @@ impl Projection {
21982198
/// # Metadata Handling
21992199
///
22002200
/// - **Schema-level metadata**: Passed through unchanged from the input schema
2201-
/// - **Field-level metadata**: Determined by each expression via `exprlist_to_fields`, which
2202-
/// calls `Expr::to_field` to handle expression-specific metadata (literals, aliases, etc.)
2201+
/// - **Field-level metadata**: Determined by each expression via [`exprlist_to_fields`], which
2202+
/// calls [`Expr::to_field`] to handle expression-specific metadata (literals, aliases, etc.)
22032203
///
22042204
/// # Returns
22052205
///

datafusion/expr/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ where
699699
/// - **Metadata**: Computed based on expression type (preserving, merging, or generating new metadata)
700700
/// - **Table reference scoping**: Establishing proper qualified field references
701701
///
702-
/// Each expression is converted to a field by calling `Expr::to_field`, which performs
702+
/// Each expression is converted to a field by calling [`Expr::to_field`], which performs
703703
/// the complete field resolution process for all field properties.
704704
///
705705
/// # Returns

0 commit comments

Comments
 (0)