Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vortex-array/src/compute/is_sorted.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl ComputeFnVTable for IsSorted {
if let Some(Precision::Exact(value)) =
array.statistics().get_as::<bool>(Stat::IsStrictSorted)
{
return Ok(Scalar::from(value).into());
return Ok(Scalar::from(Some(value)).into());
}

let is_strict_sorted = is_sorted_impl(array, kernels, true)?;
Expand All @@ -79,7 +79,7 @@ impl ComputeFnVTable for IsSorted {
} else {
if let Some(Precision::Exact(value)) = array.statistics().get_as::<bool>(Stat::IsSorted)
{
return Ok(Scalar::from(value).into());
return Ok(Scalar::from(Some(value)).into());
}

let is_sorted = is_sorted_impl(array, kernels, false)?;
Expand Down
Loading