Apache DataFusion SQL Query Engine
Docs: Fix some links in docs (#19834)
Andrew Lambde40f0c9f54a
diff --git a/docs/source/library-user-guide/query-optimizer.md b/docs/source/library-user-guide/query-optimizer.mdindex 8ed6593d56..b70ff38575 100644--- a/docs/source/library-user-guide/query-optimizer.md+++ b/docs/source/library-user-guide/query-optimizer.md@@ -25,11 +25,12 @@ format.DataFusion has modular design, allowing individual crates to be re-used in other projects.This crate is a submodule of DataFusion that provides a query optimizer for logical plans, and-contains an extensive set of [`OptimizerRule`]s and [`PhysicalOptimizerRules`] that may rewrite the plan and/or its expressions so+contains an extensive set of [`OptimizerRule`]s and [`PhysicalOptimizerRule`]s that may rewrite the plan and/or its expressions sothey execute more quickly while still computing the same result.[`optimizerrule`]: https://docs.rs/datafusion/latest/datafusion/optimizer/trait.OptimizerRule.html-[`physicaloptimizerrules`]: https://docs.rs/datafusion/latest/datafusion/physical_optimizer/trait.PhysicalOptimizerRule.html+[`physicaloptimizerrule`]: https://docs.rs/datafusion/latest/datafusion/physical_optimizer/trait.PhysicalOptimizerRule.html+[`logicalplan`]: https://docs.rs/datafusion/latest/datafusion/logical_expr/enum.LogicalPlan.html## Running the Optimizer@@ -75,7 +76,7 @@ Please refer to theexample to learn more about the general approach to writing optimizer rules andthen move onto studying the existing rules.-`OptimizerRule` transforms one ['LogicalPlan'] into another which+`OptimizerRule` transforms one [`LogicalPlan`] into another whichcomputes the same results, but in a potentially more efficientway. If there are no suitable transformations for the input plan,the optimizer can simply return it as is.