You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "jarohen (via GitHub)" <gi...@apache.org> on 2025/03/24 13:29:12 UTC
[I] Can't create a StructVector with a NullVector child [arrow-java]
jarohen opened a new issue, #690:
URL: https://github.com/apache/arrow-java/issues/690
### Describe the bug, including details regarding any error messages, version, and platform.
repro:
```java
@Test
public void testStructWithNullVectorChild() {
var field = new Field(
"foo", FieldType.notNullable(ArrowType.Struct.INSTANCE),
List.of(
new Field("null", FieldType.nullable(ArrowType.Null.INSTANCE), List.of())
)
);
try (var al = new RootAllocator()) {
try (var vec = new StructVector(field, al, null)) {
// boom
}
}
}
```
Context here is that I'm actually calling `vec.getTransferPair(field, al)` on an existing vector, but the above is a more minimal repro
Cheers folks!
James
--
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Can't create a StructVector with a NullVector child [arrow-java]
Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on issue #690:
URL: https://github.com/apache/arrow-java/issues/690#issuecomment-2748165188
Thanks ! Let me try to reproduce and I will propose a fix.
--
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@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org