Skip to content

Commit de40f0c

Browse files
authored
Docs: Fix some links in docs (#19834)
Small doc tweaks
1 parent 6f92ea6 commit de40f0c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/source/library-user-guide/query-optimizer.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ format.
2525
DataFusion has modular design, allowing individual crates to be re-used in other projects.
2626

2727
This crate is a submodule of DataFusion that provides a query optimizer for logical plans, and
28-
contains an extensive set of [`OptimizerRule`]s and [`PhysicalOptimizerRules`] that may rewrite the plan and/or its expressions so
28+
contains an extensive set of [`OptimizerRule`]s and [`PhysicalOptimizerRule`]s that may rewrite the plan and/or its expressions so
2929
they execute more quickly while still computing the same result.
3030

3131
[`optimizerrule`]: https://docs.rs/datafusion/latest/datafusion/optimizer/trait.OptimizerRule.html
32-
[`physicaloptimizerrules`]: https://docs.rs/datafusion/latest/datafusion/physical_optimizer/trait.PhysicalOptimizerRule.html
32+
[`physicaloptimizerrule`]: https://docs.rs/datafusion/latest/datafusion/physical_optimizer/trait.PhysicalOptimizerRule.html
33+
[`logicalplan`]: https://docs.rs/datafusion/latest/datafusion/logical_expr/enum.LogicalPlan.html
3334

3435
## Running the Optimizer
3536

@@ -75,7 +76,7 @@ Please refer to the
7576
example to learn more about the general approach to writing optimizer rules and
7677
then move onto studying the existing rules.
7778

78-
`OptimizerRule` transforms one ['LogicalPlan'] into another which
79+
`OptimizerRule` transforms one [`LogicalPlan`] into another which
7980
computes the same results, but in a potentially more efficient
8081
way. If there are no suitable transformations for the input plan,
8182
the optimizer can simply return it as is.

0 commit comments

Comments
 (0)