HaoYang670 opened a new issue, #3630:
URL: https://github.com/apache/arrow-datafusion/issues/3630

   **Describe the bug**
   A clear and concise description of what the bug is.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   ```sql
   DataFusion CLI v12.0.0
   ❯ create table t as select 1 as a, 2 as b;
   0 rows in set. Query took 0.015 seconds.
   ❯ select a from t
   union
   select a as a1, a as a2 from t;
   thread 'main' panicked at 'index out of bounds: the len is 1 but the index 
is 1', datafusion/common/src/dfschema.rs:161:10
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   ```
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   We should return a `Result` will more precise error message
   
   **Additional context**
   Add any other context about the problem here.
   


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

Reply via email to