whatever1345 opened a new issue, #13266:
URL: https://github.com/apache/datafusion/issues/13266

   ### Is your feature request related to a problem or challenge?
   
   Hello guys, I'm interesting in the analysis feature of DataFusion, 
specifically with the Logical Plan.  But it is very frustrating when I can 
hardly find any documentation on how Logical Plan nodes are built at low level 
and because Logical Plan nodes have a lot of enums, it is very hard to picture 
the tree of Logical Plan with just... imagination.
   
   Up until now, we only have sql_analysis.rs as an example of traversing the 
Logical Plan tree, but still, it only concerns little info of node Join and 
nothing else, so I have to figure out the rest of tree by a lot of trial - 
error and also guess-work.
   
   
   ### Describe the solution you'd like
   
   I would love to see (a joint effort maybe) to write a documentation on how 
Logical Plan tree are built from a query with all possible cases: what is the 
root of the tree?, which is the leaf?, which node would be push down deeper and 
why?, etc. The documentation should answer these questions.
   
   Or the best would be an implementation of a print_tree(&LogicalPlan) would 
be greatly helpful, but again the documentation should the top priority.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to