Skip to content

Conversation

@viirya
Copy link
Member

@viirya viirya commented Dec 25, 2021

Which issue does this PR close?

Closes #1086.

Rationale for this change

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 Dec 25, 2021
@codecov-commenter
Copy link

codecov-commenter commented Dec 25, 2021

Codecov Report

Merging #1095 (ea4bd36) into master (8b85aa0) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1095      +/-   ##
==========================================
+ Coverage   82.31%   82.32%   +0.01%     
==========================================
  Files         168      168              
  Lines       49420    49436      +16     
==========================================
+ Hits        40679    40700      +21     
+ Misses       8741     8736       -5     
Impacted Files Coverage Δ
arrow/src/compute/kernels/comparison.rs 93.47% <100.00%> (+0.13%) ⬆️
arrow/src/array/transform/mod.rs 84.86% <0.00%> (+0.13%) ⬆️
parquet/src/encodings/encoding.rs 93.71% <0.00%> (+0.19%) ⬆️
parquet_derive/src/parquet_field.rs 66.21% <0.00%> (+0.22%) ⬆️
arrow/src/datatypes/field.rs 53.68% <0.00%> (+0.30%) ⬆️
arrow/src/datatypes/datatype.rs 66.80% <0.00%> (+0.42%) ⬆️

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 8b85aa0...ea4bd36. Read the comment docs.

Copy link
Contributor

@liukun4515 liukun4515 left a comment

Choose a reason for hiding this comment

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

LGTM

@viirya
Copy link
Member Author

viirya commented Dec 29, 2021

Thanks for review. Is this ready to go?

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 @viirya

/// `A_VEC` and `B_VEC` can be of type `Vec<i64>` or `Vec<Option<i64>>`.
/// `EXPECTED` can be either `Vec<bool>` or `Vec<Option<bool>>`.
/// The main reason for this macro is that inputs and outputs align nicely after `cargo fmt`.
macro_rules! cmp_i64 {
Copy link
Contributor

Choose a reason for hiding this comment

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

this is a nice refactor

@alamb alamb merged commit 78de3ab into apache:master Dec 29, 2021
@viirya
Copy link
Member Author

viirya commented Dec 29, 2021

Thanks @alamb @jimexist @liukun4515 !

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 eq_dyn, neq_dyn, lt_dyn, lt_eq_dyn, gt_dyn, gt_eq_dyn for timestamp types

5 participants