NGA-TRAN opened a new issue #430:
URL: https://github.com/apache/arrow-datafusion/issues/430


   **Describe the bug**
   While trying to get `explain verbose` for a query, I have discovered that 
the physical plan displays almost nothing. After some investigation, the 
problem sounds like the [inputs 
function](https://github.com/apache/arrow-datafusion/blob/14f1eebef068a9e65f556ed74d2b6d98376c97f4/datafusion/src/logical_plan/plan.rs#L318)
 of `Explain` does not return its logical plan.
   
   Here is the current code:
   `LogicalPlan::Explain { .. } => vec![]`
   
   It should have been:
   `LogicalPlan::Explain { plan } => vec![plan]`
   and the line should be moved above '// plans without inputs'
   
   
   **To Reproduce**
   Steps to reproduce the behavior:
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
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.

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


Reply via email to