You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jorisvandenbossche
changed the title
pyarrow.compute.take crashes on ExtensionArrays w/ underlying dictionary type.
[C++] "take" kernel crashes on ExtensionArrays w/ underlying dictionary type
Mar 18, 2023
…34684)
### Rationale for this change
The take kernel would generate a segmentation fault when used on an extension array with a dictionary storage type.
### What changes are included in this PR?
Conversion to/from ArraySpan now uses the storage type to determine if it needs to assign a dictionary
### Are these changes tested?
I added unit tests that verify ArraySpan round trip for most types, including an extension dictionary type (and verified this test fails without the fix).
### Are there any user-facing changes?
No
* Closes: #34619
Authored-by: Weston Pace <weston.pace@gmail.com>
Signed-off-by: Weston Pace <weston.pace@gmail.com>
rtpsw
pushed a commit
to rtpsw/arrow
that referenced
this issue
Mar 27, 2023
…rsion (apache#34684)
### Rationale for this change
The take kernel would generate a segmentation fault when used on an extension array with a dictionary storage type.
### What changes are included in this PR?
Conversion to/from ArraySpan now uses the storage type to determine if it needs to assign a dictionary
### Are these changes tested?
I added unit tests that verify ArraySpan round trip for most types, including an extension dictionary type (and verified this test fails without the fix).
### Are there any user-facing changes?
No
* Closes: apache#34619
Authored-by: Weston Pace <weston.pace@gmail.com>
Signed-off-by: Weston Pace <weston.pace@gmail.com>
ArgusLi
pushed a commit
to Bit-Quill/arrow
that referenced
this issue
May 15, 2023
…rsion (apache#34684)
### Rationale for this change
The take kernel would generate a segmentation fault when used on an extension array with a dictionary storage type.
### What changes are included in this PR?
Conversion to/from ArraySpan now uses the storage type to determine if it needs to assign a dictionary
### Are these changes tested?
I added unit tests that verify ArraySpan round trip for most types, including an extension dictionary type (and verified this test fails without the fix).
### Are there any user-facing changes?
No
* Closes: apache#34619
Authored-by: Weston Pace <weston.pace@gmail.com>
Signed-off-by: Weston Pace <weston.pace@gmail.com>
Describe the bug, including details regarding any error messages, version, and platform.
Version pyarrow=11.0.0 on Debian 5.10.162.
Component(s)
C++
The text was updated successfully, but these errors were encountered: