ZuoTiJia opened a new issue, #4452:
URL: https://github.com/apache/arrow-datafusion/issues/4452

   **Describe the bug**
   Multiple EXPLAINs cause panic
   
   **To Reproduce**
   ```sql
   CREATE TABLE t AS VALUES(1);
   EXPLAIN EXPLAIN SELECT * FROM t;
   ```
   
   ```
   DataFusion CLI v14.0.0
   ❯ CREATE TABLE t AS VALUES(1);
   0 rows in set. Query took 0.002 seconds.
   ❯ EXPLAIN EXPLAIN SELECT * FROM t;
   thread 'main' panicked at 'Explain can not be created from 
utils::from_expr',  
.cargo/registry/src/github.com-1ecc6299db9ec823/datafusion-expr-14.0.0/src/utils.rs:576:13
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   ```
   
   **Expected behavior**
   Execute normally, or prevent logical plan generation.
   
   **Additional context**
   datafusion v14.0.0
   


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

Reply via email to