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/10/15 02:08:26 UTC
[I] [Java] Are the constraints of not-nullable MapVector necessary in Java? [arrow]
whutjs opened a new issue, #44414:
URL: https://github.com/apache/arrow/issues/44414
### Describe the usage question you have. Please include as many useful details as possible.
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
Re: [I] [Java] Are the constraints of not-nullable MapVector necessary in Java? [arrow]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #44414:
URL: https://github.com/apache/arrow/issues/44414#issuecomment-2412668337
That document is not canonical on its own, as it notes.
https://github.com/apache/arrow/blob/a153dcb7ae1f61e705472574a5890b33db8cb76a/format/Schema.fbs#L138
--
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