-
Notifications
You must be signed in to change notification settings - Fork 784
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
Unsound DecimalArray Validation in Unreleased arrow-rs #1813
Labels
Comments
Oops, I will fix it. Thanks @tustvold |
Already preparing a fix 😄 |
tustvold
added a commit
to tustvold/arrow-rs
that referenced
this issue
Jun 7, 2022
Fix offset validation for sliced children of list arrays (apache#1814)
tustvold
added a commit
to tustvold/arrow-rs
that referenced
this issue
Jun 7, 2022
Fix offset validation for sliced children of list arrays (apache#1814)
tustvold
added a commit
to tustvold/arrow-rs
that referenced
this issue
Jun 7, 2022
Fix offset validation for sliced children of list arrays (apache#1814)
tustvold
added a commit
to tustvold/arrow-rs
that referenced
this issue
Jun 7, 2022
Fix offset validation for sliced children of list arrays (apache#1814)
tustvold
added a commit
to tustvold/arrow-rs
that referenced
this issue
Jun 7, 2022
Fix offset validation for sliced children of list arrays (apache#1814)
tustvold
added a commit
that referenced
this issue
Jun 7, 2022
* Fix DecimalArray validation (#1813) Fix offset validation for sliced children of list arrays (#1814) * Update arrow/src/array/data.rs Co-authored-by: Liang-Chi Hsieh <[email protected]> Co-authored-by: Liang-Chi Hsieh <[email protected]>
marked as development process to suppress from release notes, as this was not released |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The validation logic added in #1767 is incorrect. In particular
This will read 16 byte slices at 1 byte intervals in the underlying array of decimal data, which will as a result:
To Reproduce
Fails with
Expected behavior
This should not incorrectly fail for valid data
Additional context
This was discovered by DataFusion's test suite for Decimals
The text was updated successfully, but these errors were encountered: