From fc9e88a9199c74f5fcd7ba6ba4b03273eabd83d9 Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Mon, 23 Sep 2024 08:31:41 -0400 Subject: [PATCH] `deps`: bump polars to 0.43.1 at py-1.8.0 tag --- Cargo.lock | 38 +++++++++++++++++++------------------- Cargo.toml | 6 +++--- README.md | 2 +- src/cmd/sqlp.rs | 4 ++-- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c5c21ec93..f02bd4b28 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4573,7 +4573,7 @@ dependencies = [ [[package]] name = "polars" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "getrandom", "polars-arrow", @@ -4592,7 +4592,7 @@ dependencies = [ [[package]] name = "polars-arrow" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "ahash", "atoi", @@ -4640,7 +4640,7 @@ dependencies = [ [[package]] name = "polars-compute" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "bytemuck", "either", @@ -4655,7 +4655,7 @@ dependencies = [ [[package]] name = "polars-core" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "ahash", "bitflags 2.6.0", @@ -4688,7 +4688,7 @@ dependencies = [ [[package]] name = "polars-error" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "avro-schema", "object_store", @@ -4701,7 +4701,7 @@ dependencies = [ [[package]] name = "polars-expr" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "ahash", "bitflags 2.6.0", @@ -4720,7 +4720,7 @@ dependencies = [ [[package]] name = "polars-io" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "ahash", "async-trait", @@ -4766,7 +4766,7 @@ dependencies = [ [[package]] name = "polars-json" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "ahash", "chrono", @@ -4787,7 +4787,7 @@ dependencies = [ [[package]] name = "polars-lazy" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "ahash", "bitflags 2.6.0", @@ -4813,7 +4813,7 @@ dependencies = [ [[package]] name = "polars-mem-engine" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "futures", "memmap2", @@ -4834,7 +4834,7 @@ dependencies = [ [[package]] name = "polars-ops" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "ahash", "argminmax", @@ -4867,7 +4867,7 @@ dependencies = [ [[package]] name = "polars-parquet" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "ahash", "async-stream", @@ -4895,7 +4895,7 @@ dependencies = [ [[package]] name = "polars-pipe" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "crossbeam-channel", "crossbeam-queue", @@ -4921,7 +4921,7 @@ dependencies = [ [[package]] name = "polars-plan" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "ahash", "bitflags 2.6.0", @@ -4954,7 +4954,7 @@ dependencies = [ [[package]] name = "polars-row" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "bytemuck", "polars-arrow", @@ -4965,7 +4965,7 @@ dependencies = [ [[package]] name = "polars-schema" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "indexmap", "polars-error", @@ -4977,7 +4977,7 @@ dependencies = [ [[package]] name = "polars-sql" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "hex", "once_cell", @@ -4998,7 +4998,7 @@ dependencies = [ [[package]] name = "polars-time" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "atoi", "bytemuck", @@ -5018,7 +5018,7 @@ dependencies = [ [[package]] name = "polars-utils" version = "0.43.1" -source = "git+https://github.com/pola-rs/polars?rev=506f927#506f927ce28f2bec2e5eb8f94b820dc06229ebb1" +source = "git+https://github.com/pola-rs/polars?tag=py-1.8.0#3be3b867dc33f759e83d6fa4ac4bf3518138d298" dependencies = [ "ahash", "bytemuck", diff --git a/Cargo.toml b/Cargo.toml index 0f1dc3462..2f49270c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -312,9 +312,9 @@ xlsxwriter = { git = "https://github.com/jqnatividad/xlsxwriter-rs", branch = "b # BUILD NOTE: Be sure to set QSV_POLARS_REV below to the latest commit short hash or tag # of polars/py-polars before building qsv. This allows us to show the polars rev/tag in --version. # if we are using a release version of Rust Polars, leave QSV_POLARS_REV empty -# QSV_POLARS_REV=506f927 -# polars = { git = "https://github.com/pola-rs/polars", tag = "py-1.7.1" } -polars = { git = "https://github.com/pola-rs/polars", rev = "506f927" } +# QSV_POLARS_REV=py-1.8.0 +polars = { git = "https://github.com/pola-rs/polars", tag = "py-1.8.0" } +# polars = { git = "https://github.com/pola-rs/polars", rev = "506f927" } [features] default = ["mimalloc"] diff --git a/README.md b/README.md index f64e6e314..4baf3b9cd 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ 😣: uses additional memory proportional to the cardinality of the columns in the CSV. 🧠: expensive operations are memoized with available inter-session Redis/Disk caching for fetch commands. 🗄️: [Extended input support](#extended-input-support). -🐻‍❄️: command powered by [![polars 0.43.0](https://img.shields.io/badge/polars-0.43.0-blue)](https://github.com/pola-rs/polars/releases/tag/rs-0.43.0). +🐻‍❄️: command powered by [![polars 0.43.1 at the py-1.8.0 tag](https://img.shields.io/badge/polars-0.43.1-blue) at py-1.8.0 tag](https://github.com/pola-rs/polars/releases/tag/py-1.8.0). 🤖: command uses Natural Language Processing & General AI techniques. 🏎️: multithreaded and/or faster when an index (📇) is available. 🚀: multithreaded even without an index. diff --git a/src/cmd/sqlp.rs b/src/cmd/sqlp.rs index be2f3b368..8c72a1738 100644 --- a/src/cmd/sqlp.rs +++ b/src/cmd/sqlp.rs @@ -6,8 +6,8 @@ Polars SQL is a SQL dialect, converting SQL queries to fast Polars LazyFrame exp (see https://docs.pola.rs/user-guide/sql/intro/). For a list of SQL functions and keywords supported by Polars SQL, see -https://github.com/pola-rs/polars/blob/rs-0.43.1/crates/polars-sql/src/functions.rs and -https://github.com/pola-rs/polars/blob/rs-0.43.1/crates/polars-sql/src/keywords.rs. +https://github.com/pola-rs/polars/blob/py-1.8.0/crates/polars-sql/src/functions.rs and +https://github.com/pola-rs/polars/blob/py-1.8.0/crates/polars-sql/src/keywords.rs. https://docs.pola.rs/py-polars/html/reference/sql/index.html also provides a more readable version of the SQL functions and keywords, though be aware that it's for the Python version of Polars, so there will be some minor syntax differences.