You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2026/09/17 04:44:58 UTC

(datafusion) branch gh-readonly-queue/main/pr-25379-dcd385e3e1770cf2ee0d0ffd7e70f0d2175dd247 created (now 0342332e1d)

This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a change to branch gh-readonly-queue/main/pr-25379-dcd385e3e1770cf2ee0d0ffd7e70f0d2175dd247
in repository https://gitbox.apache.org/repos/asf/datafusion.git


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

This branch includes the following new commits:

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

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org


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

Posted by gi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-25379-dcd385e3e1770cf2ee0d0ffd7e70f0d2175dd247
in repository https://gitbox.apache.org/repos/asf/datafusion.git

commit 0342332e1decac9da7ee2b444b3473ac44c71af8
Author: Martin Grigorov <ma...@users.noreply.github.com>
AuthorDate: Thu Sep 17 04:44:31 2026 +0000

    chore(docs): Fix the rendering of an expression in docstring (#25379)
    
    ## Which issue does this PR close?
    
    Closes N/A.
    
    ## Rationale for this change
    
    
    https://docs.rs/datafusion/latest/datafusion/catalog/trait.Session.html#tymethod.create_physical_expr
    renders:
    ```
    Note: The expression is not simplified or otherwise optimized: `a = 1
    
    * 2will not be simplified toa = 3` as this
    ```
    
    <img width="919" height="263" alt="image"
    src="https://github.com/user-attachments/assets/1becadbf-2d4e-4037-9fae-a424e7c13c72"
    />
    
    
    
    ## What changes are included in this PR?
    
    Keep the expression on one line.
    
    <img width="929" height="214" alt="image"
    src="https://github.com/user-attachments/assets/62a14026-cbd4-4ae6-ab22-c8490a96aff1"
    />
    
    
    ## What is the testing strategy for this PR?
    
    Build the docs and verify that it renders well.
    
    ## Are there any user-facing changes?
    
    No.
---
 datafusion/session/src/session.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org