Skip to content

Commit

Permalink
feat: Support single nested row encodings
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Mar 17, 2024
1 parent 4f069f5 commit 03e85bc
Show file tree
Hide file tree
Showing 3 changed files with 334 additions and 120 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 03e85bc

Please sign in to comment.