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

   ### Describe the bug
   
   The error occurs when performing an inner join on two large 
`unnest(range(...))` datasets in DataFusion. 
   
   ```
   ./datafusion-cli/target/debug/datafusion-cli -m 512m
   DataFusion CLI v42.2.0
   set datafusion.execution.sort_spill_reservation_bytes = 104857;
   0 row(s) fetched. 
   Elapsed 0.004 seconds.
   
   set datafusion.execution.sort_in_place_threshold_bytes = 104857;
   0 row(s) fetched. 
   Elapsed 0.002 seconds.
   
   select * from (select unnest(range(0, 100000)) id) t inner join (select 
unnest(range(0, 100000)) id) t1 on t.id = t1.id;
   
   
   thread 'tokio-runtime-worker' panicked at 
   
   
.cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-select-53.2.0/src/take.rs:773:13:
   attempt to add with overflow
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   External error: External error: Join Error
   caused by
   External error: task 38 panicked with message "attempt to add with overflow"
   
   ```
   
   Example was taken from [Apache DataFusion Issue 
#9359](https://github.com/apache/datafusion/issues/9359).
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to