martin-g opened a new pull request, #25377:
URL: https://github.com/apache/datafusion/pull/25377

   
   ## Which issue does this PR close?
   
   Closes N/A.
   
   ## Rationale for this change
   
   See 
https://docs.rs/datafusion/latest/datafusion/logical_expr/enum.LogicalPlan.html#visiting-and-rewriting-logicalplans
   
   The comment says `// Projection(name, salary)` but the code does 
`project(vec![col("name")])?`. It should include the `col("salary")` too
   
   ## What changes are included in this PR?
   
   The code snippet in the docstring is fixed to match the plan in the comments.
   
   ## What is the testing strategy for this PR?
   
   Build the docs and verify that the code snippet matches the comments above 
it.
   
   ## Are there any user-facing changes?
   
   No.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to