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

   ### Describe the bug
   
   See the reproducer, `datafusion-cli` is compiled from the latest commit 
(5258352)
   
   ```
   DataFusion CLI v51.0.0
   > select sum(v1)
   from generate_series(10) as t1(v1)
   group by grouping sets (());
   
   thread 'main' (34868929) panicked at 
/Users/yongting/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/arrow-schema-57.0.0/src/schema.rs:375:10:
   index out of bounds: the len is 1 but the index is 1
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   ```
   
   The expected behavior should be returning a SQL error.
   
   ### 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