Skip to content

Commit

Permalink
polars rust 0.34.2 (#12018)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Oct 25, 2023
1 parent b7a0603 commit 1c619fc
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 34 deletions.
34 changes: 17 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exclude = [
]

[workspace.package]
version = "0.34.1"
version = "0.34.2"
authors = ["Ritchie Vink <[email protected]>"]
edition = "2021"
homepage = "https://www.pola.rs/"
Expand Down Expand Up @@ -64,21 +64,21 @@ ryu = "1.0.13"
lexical-core = "0.8.5"
percent-encoding = "2.3"
xxhash-rust = { version = "0.8.6", features = ["xxh3"] }
polars-core = { version = "0.34.1", path = "crates/polars-core", default-features = false }
polars-plan = { version = "0.34.1", path = "crates/polars-plan", default-features = false }
polars-lazy = { version = "0.34.1", path = "crates/polars-lazy", default-features = false }
polars-pipe = { version = "0.34.1", path = "crates/polars-pipe", default-features = false }
polars-row = { version = "0.34.1", path = "crates/polars-row", default-features = false }
polars-ffi = { version = "0.34.1", path = "crates/polars-ffi", default-features = false }
polars-ops = { version = "0.34.1", path = "crates/polars-ops", default-features = false }
polars-sql = { version = "0.34.1", path = "crates/polars-sql", default-features = false }
polars-algo = { version = "0.34.1", path = "crates/polars-algo", default-features = false }
polars-time = { version = "0.34.1", path = "crates/polars-time", default-features = false }
polars-utils = { version = "0.34.1", path = "crates/polars-utils", default-features = false }
polars-io = { version = "0.34.1", path = "crates/polars-io", default-features = false }
polars-error = { version = "0.34.1", path = "crates/polars-error", default-features = false }
polars-json = { version = "0.34.1", path = "crates/polars-json", default-features = false }
polars = { version = "0.34.1", path = "crates/polars", default-features = false }
polars-core = { version = "0.34.2", path = "crates/polars-core", default-features = false }
polars-plan = { version = "0.34.2", path = "crates/polars-plan", default-features = false }
polars-lazy = { version = "0.34.2", path = "crates/polars-lazy", default-features = false }
polars-pipe = { version = "0.34.2", path = "crates/polars-pipe", default-features = false }
polars-row = { version = "0.34.2", path = "crates/polars-row", default-features = false }
polars-ffi = { version = "0.34.2", path = "crates/polars-ffi", default-features = false }
polars-ops = { version = "0.34.2", path = "crates/polars-ops", default-features = false }
polars-sql = { version = "0.34.2", path = "crates/polars-sql", default-features = false }
polars-algo = { version = "0.34.2", path = "crates/polars-algo", default-features = false }
polars-time = { version = "0.34.2", path = "crates/polars-time", default-features = false }
polars-utils = { version = "0.34.2", path = "crates/polars-utils", default-features = false }
polars-io = { version = "0.34.2", path = "crates/polars-io", default-features = false }
polars-error = { version = "0.34.2", path = "crates/polars-error", default-features = false }
polars-json = { version = "0.34.2", path = "crates/polars-json", default-features = false }
polars = { version = "0.34.2", path = "crates/polars", default-features = false }
rand_distr = "0.4"
reqwest = { version = "0.11", default-features = false }
arrow-array = { version = ">=41", default-features = false }
Expand All @@ -90,7 +90,7 @@ avro-schema = { version = "0.3" }

[workspace.dependencies.arrow]
package = "polars-arrow"
version = "0.34.1"
version = "0.34.2"
path = "crates/polars-arrow"
default-features = false
features = [
Expand Down
1 change: 1 addition & 0 deletions crates/polars-sql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ ipc = ["polars-lazy/ipc"]
parquet = ["polars-lazy/parquet"]
semi_anti_join = ["polars-lazy/semi_anti_join"]
diagonal_concat = ["polars-lazy/diagonal_concat"]
nightly = []
3 changes: 3 additions & 0 deletions crates/polars-sql/src/functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ pub(crate) enum PolarsSqlFunctions {
/// ```sql
/// SELECT INITCAP(column_1) from df;
/// ```
#[cfg(feature = "nightly")]
InitCap,
/// SQL 'left' function
/// Returns the `length` first characters
Expand Down Expand Up @@ -579,6 +580,7 @@ impl PolarsSqlFunctions {
// String functions
// ----
"ends_with" => Self::EndsWith,
#[cfg(feature = "nightly")]
"initcap" => Self::InitCap,
"length" => Self::Length,
"left" => Self::Left,
Expand Down Expand Up @@ -697,6 +699,7 @@ impl SqlFunctionVisitor<'_> {
// String functions
// ----
EndsWith => self.visit_binary(|e, s| e.str().ends_with(s)),
#[cfg(feature = "nightly")]
InitCap => self.visit_unary(|e| e.str().to_titlecase()),
Left => self.try_visit_binary(|e, length| {
Ok(e.str().slice(0, match length {
Expand Down
2 changes: 1 addition & 1 deletion crates/polars/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ sql = ["polars-sql"]
rows = ["polars-core/rows"]
simd = ["polars-core/simd", "polars-io/simd", "polars-ops/simd"]
avx512 = ["polars-core/avx512"]
nightly = ["polars-core/nightly", "polars-ops/nightly", "simd", "polars-lazy?/nightly"]
nightly = ["polars-core/nightly", "polars-ops/nightly", "simd", "polars-lazy?/nightly", "polars-sql/nightly"]
docs = ["polars-core/docs"]
temporal = ["polars-core/temporal", "polars-lazy?/temporal", "polars-io/temporal", "polars-time"]
random = ["polars-core/random", "polars-lazy?/random", "polars-ops/random"]
Expand Down
32 changes: 16 additions & 16 deletions py-polars/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1c619fc

Please sign in to comment.