You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "whutjs (via GitHub)" <gi...@apache.org> on 2024/11/26 19:12:38 UTC
[I] [Java] Are the constraints of not-nullable MapVector necessary in Java? [arrow-java]
whutjs opened a new issue, #45:
URL: https://github.com/apache/arrow-java/issues/45
There are two not-nullable constraints in the Java implementation of MapVector:
1. Map data should be a non-nullable struct type;
https://github.com/apache/arrow/blob/d4516c5386f84619dfdf2a9f72fed6d7df89704c/java/vector/src/main/java/org/apache/arrow/vector/complex/MapVector.java#L98
2. Map data key type should be a non-nullable;
https://github.com/apache/arrow/blob/d4516c5386f84619dfdf2a9f72fed6d7df89704c/java/vector/src/main/java/org/apache/arrow/vector/complex/MapVector.java#L105
Are these constraints necessary? Because I cannot find these constraints in the [Arrow Specifications](https://arrow.apache.org/docs/format/Columnar.html) .
### Component(s)
Java
--
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