Open
Description
Is your feature request related to a problem or challenge?
As described by @wiedld on #12729
A #11989 (and released in 42.0.0) has added a check 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
- Field Metadata Lost on
COUNT DISTINCT
queries resulting in Internal Error: Physical input schema should be the same as the one converted from logical input schema #12687 - Field Metadata Lost on CROSS JOIN #12734
- Field Metadata Lost on UNION #12735
- Document Schema metadata expectations #12736
- Fix logical vs physical schema mismatch for aliased
now()
#12951 - UNION ALL with null constants results in Schema error #13010
- nullable Expr being constant fold to value can cause schema change and internal error #13190
- [EPIC] Schema metadata handling / bugs #12733