2010YOUY01 opened a new issue, #11414:
URL: https://github.com/apache/datafusion/issues/11414

   ### Describe the bug
   
   The following query crashed during execution
   ```
   create table t1(v1 int);
   create table t2(v1 int);
   create table t3(v1 int);
   select * from t1 inner join t2 on null right join t3 on true;
   ```
   Error message when executed in DataFusion-CLI
   ```
   DataFusion CLI v40.0.0
   > create table t1(v1 int);
   create table t2(v1 int);
   create table t3(v1 int);
   select * from t1 inner join t2 on null right join t3 on true;
   0 row(s) fetched.
   Elapsed 0.066 seconds.
   
   0 row(s) fetched.
   Elapsed 0.002 seconds.
   
   0 row(s) fetched.
   Elapsed 0.002 seconds.
   
   thread 'main' panicked at 
/Users/yongting/Desktop/code/my_datafusion/arrow-datafusion/datafusion/physical-expr/src/expressions/binary.rs:598:21:
   boolean_op failed to downcast array: Internal("could not cast value to 
arrow_array::array::boolean_array::BooleanArray")
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   ```
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   Found by SQLancer https://github.com/apache/datafusion/issues/11030


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