alamb commented on PR #11453:
URL: https://github.com/apache/datafusion/pull/11453#issuecomment-2229119318

   ```
   RUST_LOG=info cargo test --features=backtrace --test sqllogictests -- 
array.slt
   ```
   
   Shows the issue appears to be in the handling of this query
   
   ```sql
   select array_ndims(array_repeat(array_repeat(array_repeat(1, 3), 2), 1)), 
array_ndims([[[[[[[[[[[[[[[[[[[[[1]]]]]]]]]]]]]]]]]]]]]);
   ```
   
   ```text
   [2024-07-15T18:22:00Z INFO  
datafusion_sqllogictest::engines::datafusion_engine::runner] [array.slt] 
Running query: "drop table array_ndims_table;"
   [2024-07-15T18:22:00Z INFO  
datafusion_sqllogictest::engines::datafusion_engine::runner] [array.slt] 
Running query: "drop table large_array_ndims_table"
   [2024-07-15T18:22:00Z INFO  
datafusion_sqllogictest::engines::datafusion_engine::runner] [array.slt] 
Running query: "select array_ndims(arrow_cast([null], 
'List(List(List(Int64)))'));"
   [2024-07-15T18:22:00Z INFO  
datafusion_sqllogictest::engines::datafusion_engine::runner] [array.slt] 
Running query: "select array_ndims(array_repeat(array_repeat(array_repeat(1, 
3), 2), 1)), array_ndims([[[[[[[[[[[[[[[[[[[[[1]]]]]]]]]]]]]]]]]]]]]);"
   
   thread 'tokio-runtime-worker' has overflowed its stack
   fatal runtime error: stack overflow
   error: test failed, to rerun pass `-p datafusion-sqllogictest --test 
sqllogictests`
   ```


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

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