l1t1 opened a new issue, #9589: URL: https://github.com/apache/arrow-datafusion/issues/9589
### Describe the bug ```sql ❯select unnest(generate_series(1,2)); +--------------------------------------------+ | unnest(generate_series(Int64(1),Int64(2))) | +--------------------------------------------+ | 1 | | 2 | +--------------------------------------------+ 2 rows in set. Query took 0.002 seconds. ❯ ❯select unnest(generate_series(1,2))a; type_coercion caused by Internal error: Unnest should be rewritten to LogicalPlan::Unnest before type coercion. This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker ❯ ❯select unnest(generate_series(1,2))as a; type_coercion caused by Internal error: Unnest should be rewritten to LogicalPlan::Unnest before type coercion. This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker ``` ### To Reproduce `select unnest(generate_series(1,2))a;` ### Expected behavior `select unnest(generate_series(1,2))a;` output same result as `select unnest(generate_series(1,2))` , and change the column name to a ### Additional context my version is on windows7 DataFusion CLI v36.0.0 -- 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]
