### Is your feature request related to a problem or challenge? As described by @wiedld on https://github.com/apache/datafusion/pull/12729 > A https://github.com/apache/datafusion/pull/11989 (and released in 42.0.0) has [added a check](https://github.com/apache/datafusion/blob/322d83526909ab44cfbe34b982d1a1c36a4dbe8f/datafusion/core/src/physical_planner.rs#L676) that the logical and physical plan input schemas (to an aggregate node) are the same. This check fails for us in several different queries now downstream in InfluxDB and this ticket tracks the list of issues we found ### Issues - [x] https://github.com/apache/datafusion/issues/12687 - [x] #12734 - [x] #12735 - [ ] https://github.com/apache/datafusion/issues/12736 - [x] https://github.com/apache/datafusion/pull/12951 - [x] https://github.com/apache/datafusion/issues/13010 - [x] https://github.com/apache/datafusion/issues/13190
Activity
[-][EPIC] Metadata handling improvement epic[/-][+][EPIC] Schema metadata handling / bugs[/+]wiedld commentedon Oct 3, 2024
If anyone finds other bugs, feel free to add to the epic. 🙏🏼
alamb commentedon Oct 15, 2024
@wiedld has found several more issues:
now()#12951eejbyfeldt commentedon Oct 30, 2024
Found another issue that triggers a schema issue here: #13190
alamb commentedon Oct 30, 2024
Thanks -- added to the list
Note I now have added the config option to work around the issue in #13176 for anyone who hits these
wiedld commentedon Nov 8, 2024
Found another schema issue here: #13305. Reproducer test cases are also included.
alamb commentedon Aug 12, 2025
The subtasks are largely done , let's call this one done
adriangb commentedon Dec 15, 2025
Found another one: #19335