We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
Not all Array validate the DataType of the ArrayData they are being created from, which can potentially lead to unsound behaviour
Array
DataType
ArrayData
To Reproduce
This should panic
#[test] fn test_primitive_validation() { let foo = PrimitiveArray::<Int32Type>::from_iter([1, 2, 3]); PrimitiveArray::<Int64Type>::from(foo.into_data()); }
Expected behavior
All arrays should verify the type is as expected
Additional context
The text was updated successfully, but these errors were encountered:
Validate ArrayData type when converting to Array (apache#2834)
21e6dec
Validate ArrayData type when converting to Array (#2834) (#2835)
8adebca
* Validate ArrayData type when converting to Array (#2834) * Fix cast kernel and take kernel tests * Clippy * Fix parquet * Clippy
label_issue.py automatically added labels {'parquet'} from #2835
label_issue.py
Sorry, something went wrong.
label_issue.py automatically added labels {'arrow'} from #2835
Successfully merging a pull request may close this issue.
Describe the bug
Not all
Array
validate theDataType
of theArrayData
they are being created from, which can potentially lead to unsound behaviourTo Reproduce
This should panic
Expected behavior
All arrays should verify the type is as expected
Additional context
The text was updated successfully, but these errors were encountered: