Skip to content

Commit

Permalink
keep fn private
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiayu Liu committed Jun 8, 2021
1 parent cfa25b3 commit bea9429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow/src/compute/kernels/partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub fn lexicographical_partition_ranges(
///
/// The returned vec would be of size k+1 where k is cardinality of the sorted values; the first and
/// last value would be 0 and n.
pub fn lexicographical_partition_points(columns: &[SortColumn]) -> Result<Vec<usize>> {
fn lexicographical_partition_points(columns: &[SortColumn]) -> Result<Vec<usize>> {
if columns.is_empty() {
return Err(ArrowError::InvalidArgumentError(
"Sort requires at least one column".to_string(),
Expand Down

0 comments on commit bea9429

Please sign in to comment.