Skip to content

Commit 295fd7a

Browse files
authored
rust polars 0.26 (#5887)
1 parent 518bd65 commit 295fd7a

File tree

14 files changed

+75
-68
lines changed

14 files changed

+75
-68
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ members = [
1717
]
1818

1919
[workspace.package]
20-
version = "0.25.1"
20+
version = "0.26.1"
2121

2222
[workspace.dependencies]
2323
rayon = "1.5"

polars/Cargo.toml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "polars"
3-
version = "0.25.1"
3+
version = "0.26.1"
44
authors = ["ritchie46 <ritchie46@gmail.com>"]
55
edition = "2021"
66
keywords = ["dataframe", "query-engine", "arrow"]
@@ -57,7 +57,16 @@ avro = ["polars-io", "polars-io/avro"]
5757
csv-file = ["polars-io", "polars-io/csv-file", "polars-lazy/csv-file"]
5858

5959
# slower builds
60-
performant = ["polars-core/performant", "chunked_ids", "dtype-u8", "dtype-u16", "cse", "polars-ops/performant"]
60+
performant = [
61+
"polars-core/performant",
62+
"chunked_ids",
63+
"dtype-u8",
64+
"dtype-u16",
65+
"dtype-struct",
66+
"cse",
67+
"polars-ops/performant",
68+
"streaming",
69+
]
6170

6271
# Dataframe formatting.
6372
fmt = ["polars-core/fmt"]
@@ -276,13 +285,13 @@ bench = [
276285
]
277286

278287
[dependencies]
279-
polars-algo = { version = "0.25.1", path = "./polars-algo", optional = true }
280-
polars-core = { version = "0.25.1", path = "./polars-core", features = ["docs", "private"], default-features = false }
281-
polars-io = { version = "0.25.1", path = "./polars-io", features = ["private"], default-features = false, optional = true }
282-
polars-lazy = { version = "0.25.1", path = "./polars-lazy", features = ["private"], default-features = false, optional = true }
283-
polars-ops = { version = "0.25.1", path = "./polars-ops" }
284-
polars-sql = { version = "0.2.0", path = "./polars-sql", default-features = false, optional = true }
285-
polars-time = { version = "0.25.1", path = "./polars-time", default-features = false, optional = true }
288+
polars-algo = { version = "0.26.1", path = "./polars-algo", optional = true }
289+
polars-core = { version = "0.26.1", path = "./polars-core", features = ["docs", "private"], default-features = false }
290+
polars-io = { version = "0.26.1", path = "./polars-io", features = ["private"], default-features = false, optional = true }
291+
polars-lazy = { version = "0.26.1", path = "./polars-lazy", features = ["private"], default-features = false, optional = true }
292+
polars-ops = { version = "0.26.1", path = "./polars-ops" }
293+
polars-sql = { version = "0.2", path = "./polars-sql", default-features = false, optional = true }
294+
polars-time = { version = "0.26.1", path = "./polars-time", default-features = false, optional = true }
286295

287296
[dev-dependencies]
288297
ahash = "0.7"

polars/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,10 @@ publish:
9494
sleep 20
9595
cargo publish --allow-dirty -p polars-core
9696
sleep 20
97-
cargo publish --allow-dirty -p polars-time
9897
cargo publish --allow-dirty -p polars-ops
9998
sleep 20
99+
cargo publish --allow-dirty -p polars-time
100+
sleep 20
100101
cargo publish --allow-dirty -p polars-io
101102
sleep 20
102103
cargo publish --allow-dirty -p polars-plan

polars/polars-algo/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ description = "Algorithms built upon Polars primitives"
1010
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1111

1212
[dependencies]
13-
polars-core = { version = "0.25.1", path = "../polars-core", features = ["private", "dtype-categorical", "asof_join"], default-features = false }
14-
polars-lazy = { version = "0.25.1", path = "../polars-lazy", features = ["asof_join", "concat_str", "strings"] }
15-
polars-ops = { version = "0.25.1", path = "../polars-ops", features = ["dtype-categorical", "asof_join"], default-features = false }
13+
polars-core = { version = "0.26.1", path = "../polars-core", features = ["private", "dtype-categorical", "asof_join"], default-features = false }
14+
polars-lazy = { version = "0.26.1", path = "../polars-lazy", features = ["asof_join", "concat_str", "strings"] }
15+
polars-ops = { version = "0.26.1", path = "../polars-ops", features = ["dtype-categorical", "asof_join"], default-features = false }
1616

1717
[package.metadata.docs.rs]
1818
all-features = true

polars/polars-core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ indexmap = { version = "1", features = ["std"] }
159159
ndarray = { version = "0.15", optional = true, default_features = false }
160160
num.workspace = true
161161
once_cell = "1"
162-
polars-arrow = { version = "0.25.1", path = "../polars-arrow", features = ["compute"] }
163-
polars-utils = { version = "0.25.1", path = "../polars-utils" }
162+
polars-arrow = { version = "0.26.1", path = "../polars-arrow", features = ["compute"] }
163+
polars-utils = { version = "0.26.1", path = "../polars-utils" }
164164
rand = { version = "0.8", optional = true, features = ["small_rng", "std"] }
165165
rand_distr = { version = "0.4", optional = true }
166166
rayon.workspace = true

polars/polars-io/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ memchr = "2.5"
4949
memmap = { package = "memmap2", version = "0.5.2", optional = true }
5050
num.workspace = true
5151
once_cell = "1"
52-
polars-arrow = { version = "0.25.1", path = "../polars-arrow" }
53-
polars-core = { version = "0.25.1", path = "../polars-core", features = ["private"], default-features = false }
54-
polars-time = { version = "0.25.1", path = "../polars-time", features = ["private"], default-features = false, optional = true }
55-
polars-utils = { version = "0.25.1", path = "../polars-utils" }
52+
polars-arrow = { version = "0.26.1", path = "../polars-arrow" }
53+
polars-core = { version = "0.26.1", path = "../polars-core", features = ["private"], default-features = false }
54+
polars-time = { version = "0.26.1", path = "../polars-time", features = ["private"], default-features = false, optional = true }
55+
polars-utils = { version = "0.26.1", path = "../polars-utils" }
5656
rayon.workspace = true
5757
regex = "1.6"
5858
serde = { version = "1", features = ["derive"], optional = true }

polars/polars-lazy/Cargo.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ serde_json = "1"
1616
ahash.workspace = true
1717
bitflags.workspace = true
1818
glob = "0.3"
19-
polars-arrow = { version = "0.25.1", path = "../polars-arrow" }
20-
polars-core = { version = "0.25.1", path = "../polars-core", features = ["lazy", "private", "zip_with", "random"], default-features = false }
21-
polars-io = { version = "0.25.1", path = "../polars-io", features = ["lazy", "csv-file", "private"], default-features = false }
22-
polars-ops = { version = "0.25.1", path = "../polars-ops", default-features = false }
23-
polars-pipe = { version = "0.25.1", path = "./polars-pipe", optional = true }
24-
polars-plan = { version = "0.25.1", path = "./polars-plan" }
25-
polars-time = { version = "0.25.1", path = "../polars-time", optional = true }
26-
polars-utils = { version = "0.25.1", path = "../polars-utils" }
19+
polars-arrow = { version = "0.26.1", path = "../polars-arrow" }
20+
polars-core = { version = "0.26.1", path = "../polars-core", features = ["lazy", "private", "zip_with", "random"], default-features = false }
21+
polars-io = { version = "0.26.1", path = "../polars-io", features = ["lazy", "csv-file", "private"], default-features = false }
22+
polars-ops = { version = "0.26.1", path = "../polars-ops", default-features = false }
23+
polars-pipe = { version = "0.26.1", path = "./polars-pipe", optional = true }
24+
polars-plan = { version = "0.26.1", path = "./polars-plan" }
25+
polars-time = { version = "0.26.1", path = "../polars-time", optional = true }
26+
polars-utils = { version = "0.26.1", path = "../polars-utils" }
2727
pyo3 = { version = "0.16", optional = true }
2828
rayon.workspace = true
2929

@@ -112,6 +112,7 @@ serde = [
112112
"polars-core/serde-lazy",
113113
"polars-time/serde",
114114
"polars-io/serde",
115+
"polars-ops/serde",
115116
]
116117

117118
# no guarantees whatsoever

polars/polars-lazy/polars-pipe/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ description = "Lazy query engine for the Polars DataFrame library"
1212
enum_dispatch = "0.3"
1313
hashbrown.workspace = true
1414
num.workspace = true
15-
polars-arrow = { version = "0.25.1", path = "../../polars-arrow", default-features = false }
16-
polars-core = { version = "0.25.1", path = "../../polars-core", features = ["lazy", "private", "zip_with", "random"], default-features = false }
17-
polars-io = { version = "0.25.1", path = "../../polars-io", default-features = false }
18-
polars-plan = { version = "0.25.1", path = "../polars-plan", default-features = false, features = ["compile"] }
19-
polars-utils = { version = "0.25.1", path = "../../polars-utils" }
15+
polars-arrow = { version = "0.26.1", path = "../../polars-arrow", default-features = false }
16+
polars-core = { version = "0.26.1", path = "../../polars-core", features = ["lazy", "private", "zip_with", "random"], default-features = false }
17+
polars-io = { version = "0.26.1", path = "../../polars-io", default-features = false }
18+
polars-plan = { version = "0.26.1", path = "../polars-plan", default-features = false, features = ["compile"] }
19+
polars-utils = { version = "0.26.1", path = "../../polars-utils" }
2020
rayon.workspace = true
2121
smartstring = { version = "1" }
2222

polars/polars-lazy/polars-plan/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ description = "Lazy query engine for the Polars DataFrame library"
1010

1111
[dependencies]
1212
ahash.workspace = true
13-
polars-arrow = { version = "0.25.1", path = "../../polars-arrow" }
14-
polars-core = { version = "0.25.1", path = "../../polars-core", features = ["lazy", "private", "zip_with", "random"], default-features = false }
15-
polars-io = { version = "0.25.1", path = "../../polars-io", features = ["lazy", "csv-file", "private"], default-features = false }
16-
polars-ops = { version = "0.25.1", path = "../../polars-ops", default-features = false }
17-
polars-time = { version = "0.25.1", path = "../../polars-time", optional = true }
18-
polars-utils = { version = "0.25.1", path = "../../polars-utils" }
13+
polars-arrow = { version = "0.26.1", path = "../../polars-arrow" }
14+
polars-core = { version = "0.26.1", path = "../../polars-core", features = ["lazy", "private", "zip_with", "random"], default-features = false }
15+
polars-io = { version = "0.26.1", path = "../../polars-io", features = ["lazy", "csv-file", "private"], default-features = false }
16+
polars-ops = { version = "0.26.1", path = "../../polars-ops", default-features = false }
17+
polars-time = { version = "0.26.1", path = "../../polars-time", optional = true }
18+
polars-utils = { version = "0.26.1", path = "../../polars-utils" }
1919
pyo3 = { version = "0.16", optional = true }
2020
rayon.workspace = true
2121
regex = { version = "1.6", optional = true }
@@ -62,7 +62,7 @@ repeat_by = ["polars-core/repeat_by"]
6262
round_series = ["polars-core/round_series"]
6363
is_first = ["polars-core/is_first"]
6464
cross_join = ["polars-core/cross_join"]
65-
asof_join = ["polars-core/asof_join", "polars-time"]
65+
asof_join = ["polars-core/asof_join", "polars-time", "polars-ops/asof_join"]
6666
dot_product = ["polars-core/dot_product"]
6767
concat_str = ["polars-core/concat_str"]
6868
arange = []
@@ -96,7 +96,7 @@ search_sorted = ["polars-ops/search_sorted"]
9696
meta = []
9797
pivot = ["polars-core/rows", "polars-ops/pivot"]
9898
top_k = ["polars-ops/top_k"]
99-
semi_anti_join = ["polars-core/semi_anti_join"]
99+
semi_anti_join = ["polars-core/semi_anti_join", "polars-ops/semi_anti_join"]
100100
cse = []
101101
propagate_nans = ["polars-ops/propagate_nans"]
102102
coalesce = []

polars/polars-lazy/src/lib.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
//! Lazy API of Polars
22
//!
3-
//!
4-
//! *Credits to the work of Andy Grove and Ballista/ DataFusion / Apache Arrow, which served as
5-
//! inspiration for the lazy API.*
6-
//!
73
//! The lazy api of Polars supports a subset of the eager api. Apart from the distributed compute,
84
//! it is very similar to [Apache Spark](https://spark.apache.org/). You write queries in a
95
//! domain specific language. These queries translate to a logical plan, which represent your query steps.

0 commit comments

Comments
 (0)