You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "2010YOUY01 (via GitHub)" <gi...@apache.org> on 2024/07/11 12:11:27 UTC

[I] Crash bug from a nested join query (SQLancer) [datafusion]

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-unsubscribe@datafusion.apache.org.apache.org

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


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


Re: [I] Crash bug from an inner join query (SQLancer) [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #11414: Crash bug from an inner join query (SQLancer)
URL: https://github.com/apache/datafusion/issues/11414


-- 
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-unsubscribe@datafusion.apache.org

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


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


Re: [I] Crash bug from an inner join query (SQLancer) [datafusion]

Posted by "jonahgao (via GitHub)" <gi...@apache.org>.
jonahgao commented on issue #11414:
URL: https://github.com/apache/datafusion/issues/11414#issuecomment-2223283487

   Thank you @2010YOUY01 , I plan to fix it.


-- 
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-unsubscribe@datafusion.apache.org

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


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