comphead opened a new issue, #5747: URL: https://github.com/apache/arrow-datafusion/issues/5747
### Describe the bug This is un umbrella to cover different bugs with internal schema during query execution leading to `Error during planning: Mismatch between schema and batches` - [ ] Windowing query shortened the alias -> workaround provide alias https://github.com/apache/arrow-datafusion/issues/5695#issuecomment-1481413999 - [ ] Union all query incorrectly derive column aliases https://github.com/apache/arrow-datafusion/issues/5695#issuecomment-1482086910 - [ ] Inconsistent column naming https://github.com/apache/arrow-datafusion/issues/5695#issuecomment-1483550835 - [ ] Case statement with one branch being null #5733 ### To Reproduce Reproduce steps are in the tickets ### Expected behavior Fix bugs ### Additional context Initially came from https://github.com/apache/arrow-datafusion/issues/5695 -- 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]
