Skip to content
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

Add lt dyn scalar kernel #1114

Merged
merged 2 commits into from
Jan 2, 2022

Conversation

matthewmturner
Copy link
Contributor

Which issue does this PR close?

Closes #1113 lt_dyn_scalar task

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the arrow Changes to the arrow crate label Jan 1, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jan 1, 2022

Codecov Report

Merging #1114 (bcb8e26) into master (0d825c1) will decrease coverage by 0.00%.
The diff coverage is 79.31%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1114      +/-   ##
==========================================
- Coverage   82.32%   82.31%   -0.01%     
==========================================
  Files         168      168              
  Lines       49577    49604      +27     
==========================================
+ Hits        40812    40833      +21     
- Misses       8765     8771       +6     
Impacted Files Coverage Δ
arrow/src/compute/kernels/comparison.rs 90.71% <79.31%> (-0.17%) ⬇️
parquet_derive/src/parquet_field.rs 65.98% <0.00%> (-0.46%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d825c1...bcb8e26. Read the comment docs.

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @matthewmturner

| DataType::UInt32
| DataType::UInt64 => {dyn_compare_scalar!(&left, right, key_type, lt_scalar)}
_ => Err(ArrowError::ComputeError(
"Kernel only supports PrimitiveArray or DictionaryArray with Primitive values".to_string(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be cool to put the actual name of lt_dyn_eq here

@alamb
Copy link
Contributor

alamb commented Jan 1, 2022

I think this needs a rebase now that #1074 is merged but then it is ready to go

@matthewmturner matthewmturner force-pushed the add_lt_dyn_scalar_kernel branch from 7f88bb1 to c7ccf0b Compare January 1, 2022 15:30
@alamb alamb merged commit 2bf255e into apache:master Jan 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement dyn scalar comparison kernels
3 participants