Skip to content

Commit

Permalink
polars: 0.16.0 -> arrow2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Sep 14, 2021
1 parent d26af7a commit 711520d
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 27 deletions.
8 changes: 4 additions & 4 deletions polars/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars"
version = "0.15.1"
version = "0.16.0"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2018"
license = "MIT"
Expand Down Expand Up @@ -167,9 +167,9 @@ docs-selection = [
]

[dependencies]
polars-core = {version = "0.15.1", path = "./polars-core", features= ["docs", "private"], default-features = false}
polars-io = {version = "0.15.1", path = "./polars-io", features = ["private"], default-features = false, optional=true}
polars-lazy = {version = "0.15.1", path = "./polars-lazy", features=["private"], default-features = false, optional=true}
polars-core = {version = "0.16.0", path = "./polars-core", features= ["docs", "private"], default-features = false}
polars-io = {version = "0.16.0", path = "./polars-io", features = ["private"], default-features = false, optional=true}
polars-lazy = {version = "0.16.0", path = "./polars-lazy", features=["private"], default-features = false, optional=true}

[dev-dependencies]
criterion = "0.3"
Expand Down
6 changes: 3 additions & 3 deletions polars/polars-arrow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-arrow"
version = "0.15.1"
version = "0.16.0"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2018"
license = "MIT"
Expand All @@ -9,8 +9,8 @@ description = "Arrow interfaces for Polars DataFrame library"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
arrow = { package = "arrow2", git = "https://github.com/jorgecarleitao/arrow2", rev = "f326fed4f3f7b428deee0d4adb46eebc8b7a3471", default-features = false }
#arrow = { package = "arrow2", git = "https://github.com/jorgecarleitao/arrow2", rev = "f326fed4f3f7b428deee0d4adb46eebc8b7a3471", default-features = false }
#arrow = { package = "arrow2", git = "https://github.com/ritchie46/arrow2", rev = "8aab4065eedfdee458ceb315b65e23cc8e9f06f5", default-features = false, features=["io_parquet_compression"] }
#arrow = { package = "arrow2", version = "0.4", default-features=false}
arrow = { package = "arrow2", version = "0.5.3", default-features=false}
thiserror = "^1.0"
num = "^0.4"
8 changes: 4 additions & 4 deletions polars/polars-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-core"
version = "0.15.1"
version = "0.16.0"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2018"
license = "MIT"
Expand Down Expand Up @@ -125,10 +125,10 @@ docs-selection = [
]

[dependencies]
arrow = { package = "arrow2", git = "https://github.com/jorgecarleitao/arrow2", rev = "f326fed4f3f7b428deee0d4adb46eebc8b7a3471", default-features = false, features=["compute"]}
#arrow = { package = "arrow2", git = "https://github.com/jorgecarleitao/arrow2", rev = "f326fed4f3f7b428deee0d4adb46eebc8b7a3471", default-features = false, features=["compute"]}
#arrow = { package = "arrow2", git = "https://github.com/ritchie46/arrow2", rev = "8aab4065eedfdee458ceb315b65e23cc8e9f06f5", default-features = false, features=["compute"] }
#arrow = { package = "arrow2", version="0.4", default-features = false, features=["compute"]}
polars-arrow = {version = "0.15.1", path = "../polars-arrow"}
arrow = { package = "arrow2", version="0.5.3", default-features = false, features=["compute"]}
polars-arrow = {version = "0.16.0", path = "../polars-arrow"}
thiserror = "1.0"
num = "^0.4"
itertools = "0.10"
Expand Down
5 changes: 5 additions & 0 deletions polars/polars-core/src/chunked_array/object/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ where
fn validity(&self) -> &Option<Bitmap> {
&self.null_bitmap
}
fn with_validity(&self, validity: Option<Bitmap>) -> Box<dyn Array> {
let mut arr = self.clone();
arr.null_bitmap = validity;
Box::new(arr)
}
}

impl<T> ObjectChunked<T>
Expand Down
10 changes: 5 additions & 5 deletions polars/polars-io/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-io"
version = "0.15.1"
version = "0.16.0"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2018"
license = "MIT"
Expand All @@ -27,11 +27,11 @@ decompress = ["flate2"]
private = []

[dependencies]
arrow = { package = "arrow2", git = "https://github.com/jorgecarleitao/arrow2", rev = "f326fed4f3f7b428deee0d4adb46eebc8b7a3471", --default-features=false }
#arrow = { package = "arrow2", git = "https://github.com/jorgecarleitao/arrow2", rev = "f326fed4f3f7b428deee0d4adb46eebc8b7a3471", --default-features=false }
#arrow = { package = "arrow2", git = "https://github.com/ritchie46/arrow2", rev = "8aab4065eedfdee458ceb315b65e23cc8e9f06f5", default-features = false }
#arrow = { package = "arrow2", version="0.4", --default-features=false }
polars-core = {version = "0.15.1", path = "../polars-core", features = ["private"], default-features=false}
polars-arrow = {version = "0.15.1", path = "../polars-arrow"}
arrow = { package = "arrow2", version="0.5.3", --default-features=false }
polars-core = {version = "0.16.0", path = "../polars-core", features = ["private"], default-features=false}
polars-arrow = {version = "0.16.0", path = "../polars-arrow"}
lexical = {version = "6", optional = true}
num_cpus = "1.13.0"
csv-core = {version = "0.1.10", optional=true}
Expand Down
8 changes: 4 additions & 4 deletions polars/polars-lazy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-lazy"
version = "0.15.1"
version = "0.16.0"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2018"
license = "MIT"
Expand Down Expand Up @@ -58,9 +58,9 @@ rayon = "1.5"
itertools = "0.10"
regex = {version = "1.4", optional = true}

polars-io = {version = "0.15.1", path = "../polars-io", features = ["lazy", "csv-file", "private"], default-features=false}
polars-core = {version = "0.15.1", path = "../polars-core", features = ["lazy", "private", "zip_with"], default-features=false}
polars-arrow = {version = "0.15.1", path = "../polars-arrow"}
polars-io = {version = "0.16.0", path = "../polars-io", features = ["lazy", "csv-file", "private"], default-features=false}
polars-core = {version = "0.16.0", path = "../polars-core", features = ["lazy", "private", "zip_with"], default-features=false}
polars-arrow = {version = "0.16.0", path = "../polars-arrow"}
# uncomment to have datafusion integration
# when uncommenting we both need to point to the same arrow version
# datafusion = {version="4.0.0-SNAPSHOT", git = "https://github.com/apache/arrow-datafusion", rev = "88222b7", default-features=false, optional=true}
Expand Down
15 changes: 8 additions & 7 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 711520d

Please sign in to comment.