From 84d61fd2c392400bcd0346857ec3725d9f5809bd Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Sun, 8 Dec 2024 08:15:16 -0500 Subject: [PATCH 1/2] deps: bump polars from 0.44.2 to 0.45 --- Cargo.lock | 100 ++++++++++++++++++++++++++++++++--------------------- Cargo.toml | 6 ++-- 2 files changed, 63 insertions(+), 43 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6fa1515bd..d890e0a3f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4533,8 +4533,9 @@ dependencies = [ [[package]] name = "polars" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f0a108fffe97cb3a79aa87908ac88c56059cf2466e89ae304de163836a853a6" dependencies = [ "getrandom", "polars-arrow", @@ -4552,8 +4553,9 @@ dependencies = [ [[package]] name = "polars-arrow" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c802be02fec184ca1873d933868c39d5ccd901018dab833c8ddf23749e4df278" dependencies = [ "ahash", "atoi", @@ -4596,8 +4598,9 @@ dependencies = [ [[package]] name = "polars-compute" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92735f5939f97b418954a08d927058fed633792f7bb5292ab73010475b0d8d03" dependencies = [ "atoi_simd", "bytemuck", @@ -4617,8 +4620,9 @@ dependencies = [ [[package]] name = "polars-core" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03c4562086cd2da911a62e8cb25cf10cbf840ac7d77d985ec8a26e7e8e49b684" dependencies = [ "ahash", "bitflags 2.6.0", @@ -4653,8 +4657,9 @@ dependencies = [ [[package]] name = "polars-error" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1f394c2c21f1bd3e14b5dfb6a7ebe5f4a5c215c24f74f4e971ccbdce098da63" dependencies = [ "avro-schema", "object_store", @@ -4666,8 +4671,9 @@ dependencies = [ [[package]] name = "polars-expr" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37c7c250b97c42a5195f3da6534727c1b6158ceb0f526d25d02f183b42760e6c" dependencies = [ "ahash", "bitflags 2.6.0", @@ -4689,8 +4695,9 @@ dependencies = [ [[package]] name = "polars-io" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6d8662f5edb590528fb3bea10b4e7a8ca5387927f38b3a82ae3d772257e6c55" dependencies = [ "ahash", "async-trait", @@ -4737,8 +4744,9 @@ dependencies = [ [[package]] name = "polars-json" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5858e97d6c1441fabed84dc2a1fa9bf9180f799712c4ee2ff790c825a0e31c3a" dependencies = [ "ahash", "chrono", @@ -4759,8 +4767,9 @@ dependencies = [ [[package]] name = "polars-lazy" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2080ff9c31975ced0aab4424c557a503e108417342618d506a9120f24e83d83e" dependencies = [ "ahash", "bitflags 2.6.0", @@ -4786,8 +4795,9 @@ dependencies = [ [[package]] name = "polars-mem-engine" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce2697d14830103d912d7b0cb6dbf2244a5bb0e0760d1828a7bc5fba566a93cb" dependencies = [ "futures", "memmap2", @@ -4807,8 +4817,9 @@ dependencies = [ [[package]] name = "polars-ops" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "24e56e34b484eeb19a486a723525bb0367b2a73ba1d361f1cbe922b0e526f22f" dependencies = [ "ahash", "argminmax", @@ -4842,8 +4853,9 @@ dependencies = [ [[package]] name = "polars-parquet" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02d683d41c377898b4e982a814e1bc1448b3dc01eedf6ea5a1322f68d56f9414" dependencies = [ "ahash", "async-stream", @@ -4880,8 +4892,9 @@ dependencies = [ [[package]] name = "polars-pipe" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cf63c2f7988390c6dc895202241431b638d8edcbef36122a0412673ac66fef" dependencies = [ "crossbeam-channel", "crossbeam-queue", @@ -4906,8 +4919,9 @@ dependencies = [ [[package]] name = "polars-plan" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2c53fef25e54f0a603923730a8bf5dd65ed991a73bda7fd2f9c9e9ec4f3d71cf" dependencies = [ "ahash", "bitflags 2.6.0", @@ -4941,8 +4955,9 @@ dependencies = [ [[package]] name = "polars-row" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "087ac5ef877a56da4e9ef4280e08eb28f7916b2e1c578749798f03928c83ec09" dependencies = [ "bitflags 2.6.0", "bytemuck", @@ -4954,8 +4969,9 @@ dependencies = [ [[package]] name = "polars-schema" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21aa4bd255619a28b88478c5e683f9988e22a4dc99c62d137bd289479401c4f0" dependencies = [ "indexmap", "polars-error", @@ -4966,8 +4982,9 @@ dependencies = [ [[package]] name = "polars-sql" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4a8067044d13ed9354a89d2af2aa6f7a9c2bcb1ad1a425cdedd8d492972477d" dependencies = [ "hex", "once_cell", @@ -4987,8 +5004,9 @@ dependencies = [ [[package]] name = "polars-stream" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af1ea6090657846dc88833a9df5d33ae423e76746fd595ef89ef4169cd34a838" dependencies = [ "atomic-waker", "crossbeam-deque", @@ -5016,8 +5034,9 @@ dependencies = [ [[package]] name = "polars-time" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0753b41e88e0161f1a1e38bfe744936ea377dd4bfe4f0b596e5b9a4d0994cc6" dependencies = [ "atoi", "bytemuck", @@ -5038,8 +5057,9 @@ dependencies = [ [[package]] name = "polars-utils" -version = "0.44.2" -source = "git+https://github.com/pola-rs/polars?rev=a6ca94d#a6ca94dc920873b0757fd656ed100b576583b936" +version = "0.45.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a193495a7f88c149b0f5afa8e96a9b41376034a33cbd436a95e86b963cc3e81b" dependencies = [ "ahash", "bytemuck", diff --git a/Cargo.toml b/Cargo.toml index cab5af43b..eada6b34b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -163,7 +163,7 @@ mlua = { version = "0.10", features = [ num_cpus = "1" odht = "0.3" phf = { version = "0.11", features = ["macros"], optional = true } -polars = { version = "0.44.2", features = [ +polars = { version = "0.45", features = [ "asof_join", "avro", "avx512", @@ -329,9 +329,9 @@ strum_macros = { git = "https://github.com/dathere/strum", branch = "bump-phf-to # 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=a6ca94d +# QSV_POLARS_REV= # polars = { git = "https://github.com/pola-rs/polars", tag = "py-1.16.0" } -polars = { git = "https://github.com/pola-rs/polars", rev = "a6ca94d" } +# polars = { git = "https://github.com/pola-rs/polars", rev = "a6ca94d" } [features] default = ["mimalloc"] From 9dc02075ad0cf3112519817256854cf1e84c97b3 Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Sun, 8 Dec 2024 08:15:40 -0500 Subject: [PATCH 2/2] docs: update polars legend version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 04e021717..77e89ec66 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,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.44.2](https://img.shields.io/badge/polars-0.44.2-blue) at the py-1.16.0 tag](https://github.com/pola-rs/polars/releases/tag/py-1.16.0). +🐻‍❄️: command powered by [![polars 0.45.0](https://img.shields.io/badge/polars-0.45.0-blue)](https://github.com/pola-rs/polars/releases/tag/rs-0.45.0). 🤖: command uses Natural Language Processing & General AI techniques. 🏎️: multithreaded and/or faster when an index (📇) is available. 🚀: multithreaded even without an index.