Skip to content

Commit

Permalink
chore: bump rust polars to 0.39.2 (#1051)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Apr 19, 2024
1 parent 9ea6ec5 commit 0a73217
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 50 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,5 @@ Collate:
'zzz.R'
Config/rextendr/version: 0.3.1
VignetteBuilder: knitr
Config/polars/LibVersion: 0.39.1
Config/polars/LibVersion: 0.39.2
Config/polars/RustToolchainVersion: nightly-2024-04-15
2 changes: 0 additions & 2 deletions man/ExprArr_max.Rd

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

2 changes: 0 additions & 2 deletions man/ExprArr_min.Rd

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

66 changes: 33 additions & 33 deletions src/rust/Cargo.lock

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

8 changes: 4 additions & 4 deletions src/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "r-polars"
version = "0.39.1"
version = "0.39.2"
edition = "2021"
rust-version = "1.76.0"
publish = false
Expand Down Expand Up @@ -52,8 +52,8 @@ serde_json = "*"
smartstring = "1.0.1"
state = "0.6.0"
thiserror = "1.0.58"
polars-core = { git = "https://github.com/pola-rs/polars.git", rev = "5e6854171b4883418c9dbc5dd20f1bb10a23f98f", default-features = false }
polars-lazy = { git = "https://github.com/pola-rs/polars.git", rev = "5e6854171b4883418c9dbc5dd20f1bb10a23f98f", default-features = false }
polars-core = { git = "https://github.com/pola-rs/polars.git", rev = "4c57688d204fad3d0d5e4586ecd0405ead7baeb2", default-features = false }
polars-lazy = { git = "https://github.com/pola-rs/polars.git", rev = "4c57688d204fad3d0d5e4586ecd0405ead7baeb2", default-features = false }
either = "1"
#features copied from node-polars

Expand Down Expand Up @@ -155,4 +155,4 @@ features = [
"zip_with",
]
git = "https://github.com/pola-rs/polars.git"
rev = "5e6854171b4883418c9dbc5dd20f1bb10a23f98f"
rev = "4c57688d204fad3d0d5e4586ecd0405ead7baeb2"
5 changes: 4 additions & 1 deletion tests/testthat/test-concat.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ test_that("concat dataframe", {
)

# type 'relaxed' vertical concatenation is not allowed by default
expect_grepl_error(pl$concat(l_ver[[1L]], pl$DataFrame(a = 2, b = 42L), how = "vertical"), "cannot extend/append Int32 with Float64")
expect_grepl_error(
pl$concat(l_ver[[1L]], pl$DataFrame(a = 2, b = 42L), how = "vertical"),
"type Float64 is incompatible with expected type Int32"
)

# check lazy eager is identical
l_ver_lazy = lapply(l_ver, \(df) df$lazy())
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-expr_expr.R
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ test_that("Expr_append", {

expect_grepl_error(
pl$DataFrame(list())$select(pl$lit("Bob")$append(FALSE, upcast = FALSE)),
"cannot extend/append String with Boolean"
"type Boolean is incompatible with expected type String"
)
})

Expand Down
6 changes: 0 additions & 6 deletions tools/lib-sums.tsv

This file was deleted.

0 comments on commit 0a73217

Please sign in to comment.