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
The negate kernels are incorrect for interval types as they fail to take into account that the values are composite
To Reproduce
#[test] fn test_negate() { let a = IntervalMonthDayNanoArray::from(vec![IntervalMonthDayNanoType::make_value( 1, -5, 2, )]); let negated = negate(&a).unwrap(); assert_eq!( negated.value(0), IntervalMonthDayNanoType::make_value(-1, 5, -2) ); }
Expected behavior
Additional context
We should probably deprecate the generic kernels and implement new kernels as part of #1047
The text was updated successfully, but these errors were encountered:
Add negate kernels (apache#4488)
e8beb41
Add negate kernels (#4488) (#4494)
20af94b
* Add negate kernels (#4488) * Fix doc * Add Inteval tests * Review feedback
label_issue.py automatically added labels {'arrow'} from #4494
label_issue.py
Sorry, something went wrong.
tustvold
Successfully merging a pull request may close this issue.
Describe the bug
The negate kernels are incorrect for interval types as they fail to take into account that the values are composite
To Reproduce
Expected behavior
Additional context
We should probably deprecate the generic kernels and implement new kernels as part of #1047
The text was updated successfully, but these errors were encountered: