gabotechs opened a new issue, #20123:
URL: https://github.com/apache/datafusion/issues/20123
### Describe the bug
When going through Substrait in a query with unions, where two different
union-ed columns have the same name, the following error happens:
```
Error: type_coercion
Schema contains duplicate unqualified field name
"foo(bar(tags,Utf8(""baz"")))"
```
This seems to be a regression that started happening in v52 and was
introduced in:
- https://github.com/apache/datafusion/pull/19019
As reverting that PR fixes the problem.
### To Reproduce
Run the new test introduced in
https://github.com/apache/datafusion/pull/20106
### Expected behavior
The test succeeds
### Additional context
_No response_
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]