Describe the bug
@appletreeisyellow is updating DataFusion in InfluxDB and after upgrade some of our queries hit the following error:
RowConverter column schema mismatch, expected Utf8 got Dictionary(Int32, Utf8)
To Reproduce
Our current reproducer has customer data that I can't share, but I will create a test case that shows the problem that we can share later.
datafusion-cli -f smaller-df.sql
datafusion-cli -f smaller-df.sql
DataFusion CLI v34.0.0
External error: Arrow error: Invalid argument error: RowConverter column schema mismatch, expected Utf8 got Dictionary(Int32, Utf8)
Expected behavior
The queries should pass
Additional context
I confirmed that when I reverted eb8aff7 / #8291 the problem stopped (see #8740 for the specific change)