-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[C++] C data bridge doesn't preserve map values nullability on import #34983
Comments
wjones127
added a commit
that referenced
this issue
Apr 11, 2023
…mport (#35013) ### Rationale for this change Map types with non-nullable values don't roundtrip right now through C Data interface, when they arguably should. I also found that field names don't roundtrip, but I think that might be a feature, not a bug. Therefore I added unit tests enforcing it for now. ### What changes are included in this PR? ### Are these changes tested? Yes, added various unit tests for export and roundtrip. ### Are there any user-facing changes? * Closes: #34983 Authored-by: Will Jones <willjones127@gmail.com> Signed-off-by: Will Jones <willjones127@gmail.com>
liujiacheng777
pushed a commit
to LoongArch-Python/arrow
that referenced
this issue
May 11, 2023
…face import (apache#35013) ### Rationale for this change Map types with non-nullable values don't roundtrip right now through C Data interface, when they arguably should. I also found that field names don't roundtrip, but I think that might be a feature, not a bug. Therefore I added unit tests enforcing it for now. ### What changes are included in this PR? ### Are these changes tested? Yes, added various unit tests for export and roundtrip. ### Are there any user-facing changes? * Closes: apache#34983 Authored-by: Will Jones <willjones127@gmail.com> Signed-off-by: Will Jones <willjones127@gmail.com>
ArgusLi
pushed a commit
to Bit-Quill/arrow
that referenced
this issue
May 15, 2023
…face import (apache#35013) ### Rationale for this change Map types with non-nullable values don't roundtrip right now through C Data interface, when they arguably should. I also found that field names don't roundtrip, but I think that might be a feature, not a bug. Therefore I added unit tests enforcing it for now. ### What changes are included in this PR? ### Are these changes tested? Yes, added various unit tests for export and roundtrip. ### Are there any user-facing changes? * Closes: apache#34983 Authored-by: Will Jones <willjones127@gmail.com> Signed-off-by: Will Jones <willjones127@gmail.com>
rtpsw
pushed a commit
to rtpsw/arrow
that referenced
this issue
May 16, 2023
…face import (apache#35013) ### Rationale for this change Map types with non-nullable values don't roundtrip right now through C Data interface, when they arguably should. I also found that field names don't roundtrip, but I think that might be a feature, not a bug. Therefore I added unit tests enforcing it for now. ### What changes are included in this PR? ### Are these changes tested? Yes, added various unit tests for export and roundtrip. ### Are there any user-facing changes? * Closes: apache#34983 Authored-by: Will Jones <willjones127@gmail.com> Signed-off-by: Will Jones <willjones127@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
The nullability of the values field is lost here, since we pass as a type and not a field:
arrow/cpp/src/arrow/c/bridge.cc
Line 1105 in 82d48a9
Component(s)
C++
The text was updated successfully, but these errors were encountered: