Skip to content

Apache DataFusion SQL Query Engine

chore(docs): Fix the rendering of an expression in docstring (#25379)

Martin Grigorov0342332e1dec
diff --git a/datafusion/session/src/session.rs b/datafusion/session/src/session.rs
index f6143cc4a4..2673f017db 100644
--- a/datafusion/session/src/session.rs
+++ b/datafusion/session/src/session.rs
@@ -155,8 +155,8 @@ pub trait Session: Send + Sync {
/// Create a [`PhysicalExpr`] from an [`Expr`] after applying type
/// coercion, and function rewrites.
///
- /// Note: The expression is not simplified or otherwise optimized: `a = 1
- /// + 2` will not be simplified to `a = 3` as this is a more involved process.
+ /// Note: The expression is not simplified or otherwise optimized: `a = 1 + 2`
+ /// will not be simplified to `a = 3` as this is a more involved process.
/// See the [expr_api] example for how to simplify expressions.
///
/// [expr_api]: https://github.com/apache/datafusion/blob/main/datafusion-examples/examples/query_planning/expr_api.rs