Skip to content

Commit

Permalink
make finish_eq_validities public (jorgecarleitao#1340)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Dec 23, 2022
1 parent 133b933 commit 2101c8e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/compute/comparison/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,10 @@ fn can_partial_eq_scalar(data_type: &DataType) -> bool {
)
}

fn finish_eq_validities(
/// Utility for low level end users that implement their own comparison functions
/// A comparison on the data column can be applied on masked out values
/// This function will correct equality for the validities.
pub fn finish_eq_validities(
output_without_validities: BooleanArray,
validity_lhs: Option<Bitmap>,
validity_rhs: Option<Bitmap>,
Expand Down Expand Up @@ -565,7 +568,10 @@ fn finish_eq_validities(
}
}

fn finish_neq_validities(
/// Utility for low level end users that implement their own comparison functions
/// A comparison on the data column can be applied on masked out values
/// This function will correct non-equality for the validities.
pub fn finish_neq_validities(
output_without_validities: BooleanArray,
validity_lhs: Option<Bitmap>,
validity_rhs: Option<Bitmap>,
Expand Down

0 comments on commit 2101c8e

Please sign in to comment.