You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "comphead (via GitHub)" <gi...@apache.org> on 2025/08/29 00:27:57 UTC
Re: [I] bug: test `cast StructType to String` fails for duplicated col [datafusion-comet]
comphead commented on issue #2256:
URL: https://github.com/apache/datafusion-comet/issues/2256#issuecomment-3235337339
This happens because of
```
if (struct.names.length != struct.names.distinct.length) {
withInfo(expr, "CreateNamedStruct with duplicate field names are not supported")
return None
}
```
Having commented this out I'm getting
```
Caused by: java.lang.IllegalStateException: ArrowArray struct has 2 children (expected 1)
```
--
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: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org