Skip to content

Commit

Permalink
feat: Support single nested row encodings (#15105)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Mar 17, 2024
1 parent 5e795c2 commit f8ade71
Show file tree
Hide file tree
Showing 4 changed files with 340 additions and 122 deletions.
1 change: 1 addition & 0 deletions crates/polars-core/src/chunked_array/ops/sort/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@ pub(crate) fn convert_sort_column_multi_sort(s: &Series) -> PolarsResult<Series>
// we could fallback to default branch, but decimal is not numeric dtype for now, so explicit here
#[cfg(feature = "dtype-decimal")]
Decimal(_, _) => s.clone(),
List(inner) if !inner.is_nested() => s.clone(),
_ => {
let phys = s.to_physical_repr().into_owned();
polars_ensure!(
Expand Down
Loading

0 comments on commit f8ade71

Please sign in to comment.