Skip to content

Commit

Permalink
unfeature gate temporals
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed Dec 6, 2024
1 parent 9b8b3db commit 8df9c3a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions crates/polars-core/src/chunked_array/ops/row_encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,8 @@ pub(crate) fn convert_series_for_row_encoding(s: &Series) -> PolarsResult<Series
.apply_to_inner(&|s| convert_series_for_row_encoding(&s))
.unwrap()
.into_series(),
#[cfg(feature = "dtype-date")]
D::Date => s.to_physical_repr().into_owned(),
#[cfg(feature = "dtype-datetime")]
D::Datetime(_, _) => s.to_physical_repr().into_owned(),
#[cfg(feature = "dtype-duration")]
D::Duration(_) => s.to_physical_repr().into_owned(),
#[cfg(feature = "dtype-time")]
D::Time => s.to_physical_repr().into_owned(),

D::Date | D::Datetime(_, _) | D::Duration(_) | D::Time => s.to_physical_repr().into_owned(),

#[cfg(feature = "object")]
D::Object(_, _) => {
Expand Down

0 comments on commit 8df9c3a

Please sign in to comment.