Skip to content

Commit

Permalink
go back to non-order-preserving cast
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanrfrazier committed Sep 27, 2023
1 parent ff2e57c commit eb7820f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sparrow-runtime/src/prepare/preparer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ pub fn prepare_batch(
let num_rows = batch.num_rows();
let subsort = if let Some(subsort_column_name) = subsort_column_name.as_ref() {
let subsort = get_required_column(batch, subsort_column_name)?;
order_preserving_cast_to_u64(subsort)
arrow::compute::cast(subsort.as_ref(), &DataType::UInt64)
.into_report()
.change_context_lazy(|| Error::ConvertSubsort(subsort.data_type().clone()))?
} else {
Expand Down

0 comments on commit eb7820f

Please sign in to comment.