Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The conversion from velox MapVector to Arrow MapVector doesn't satisfy the constraint of Arrow in Java #11204

Open
whutjs opened this issue Oct 9, 2024 · 1 comment
Labels
bug Something isn't working triage Newly created issue that needs attention.

Comments

@whutjs
Copy link

whutjs commented Oct 9, 2024

Bug description

When velox convert the MapVector to Arrow MapVector, velox will set the flag of MapVector to nullable:

arrowSchema.flags = ARROW_FLAG_NULLABLE;

However, in the implementation of arrow-java, MapVector is not allowed to be nullable, otherwise an exception is throwed:
https://github.com/apache/arrow/blob/d4516c5386f84619dfdf2a9f72fed6d7df89704c/java/vector/src/main/java/org/apache/arrow/vector/complex/MapVector.java#L98

System information

NONE

Relevant logs

No response

@whutjs whutjs added bug Something isn't working triage Newly created issue that needs attention. labels Oct 9, 2024
@whutjs
Copy link
Author

whutjs commented Oct 10, 2024

@pedroerp Would you please take a look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Newly created issue that needs attention.
Projects
None yet
Development

No branches or pull requests

1 participant