-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upgrade DataFusion, Arrow, PyO3, ObjectStore (#2594)
BREAKING CHANGE: * Removed access to `MultipartId`, `cleanup_partial_writes`. Uploads are now automatically cleaned up. * `FragmentWriteProgress` no longer has any `multipart_id` argument. * `CommitHandler` and `ManifestWriter` APIs now take a Lance `ObjectStore` rather than `object_store::ObjectStore`. New features: * For S3 and Azure (these features were already implemented for GCS): * Max object size is now 2.5 TB, up from 50GB. * Retries are now performed for `Connection reset` network errors. * Reduced number of IOPS for writing small objects (<5MB)
- Loading branch information
Showing
54 changed files
with
896 additions
and
1,192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ exclude = ["python"] | |
resolver = "2" | ||
|
||
[workspace.package] | ||
version = "0.14.2" | ||
version = "0.15.0" | ||
edition = "2021" | ||
authors = ["Lance Devs <[email protected]>"] | ||
license = "Apache-2.0" | ||
|
@@ -43,33 +43,33 @@ categories = [ | |
rust-version = "1.78" | ||
|
||
[workspace.dependencies] | ||
lance = { version = "=0.14.2", path = "./rust/lance" } | ||
lance-arrow = { version = "=0.14.2", path = "./rust/lance-arrow" } | ||
lance-core = { version = "=0.14.2", path = "./rust/lance-core" } | ||
lance-datafusion = { version = "=0.14.2", path = "./rust/lance-datafusion" } | ||
lance-datagen = { version = "=0.14.2", path = "./rust/lance-datagen" } | ||
lance-encoding = { version = "=0.14.2", path = "./rust/lance-encoding" } | ||
lance-encoding-datafusion = { version = "=0.14.2", path = "./rust/lance-encoding-datafusion" } | ||
lance-file = { version = "=0.14.2", path = "./rust/lance-file" } | ||
lance-index = { version = "=0.14.2", path = "./rust/lance-index" } | ||
lance-io = { version = "=0.14.2", path = "./rust/lance-io" } | ||
lance-linalg = { version = "=0.14.2", path = "./rust/lance-linalg" } | ||
lance-table = { version = "=0.14.2", path = "./rust/lance-table" } | ||
lance-test-macros = { version = "=0.14.2", path = "./rust/lance-test-macros" } | ||
lance-testing = { version = "=0.14.2", path = "./rust/lance-testing" } | ||
lance = { version = "=0.15.0", path = "./rust/lance" } | ||
lance-arrow = { version = "=0.15.0", path = "./rust/lance-arrow" } | ||
lance-core = { version = "=0.15.0", path = "./rust/lance-core" } | ||
lance-datafusion = { version = "=0.15.0", path = "./rust/lance-datafusion" } | ||
lance-datagen = { version = "=0.15.0", path = "./rust/lance-datagen" } | ||
lance-encoding = { version = "=0.15.0", path = "./rust/lance-encoding" } | ||
lance-encoding-datafusion = { version = "=0.15.0", path = "./rust/lance-encoding-datafusion" } | ||
lance-file = { version = "=0.15.0", path = "./rust/lance-file" } | ||
lance-index = { version = "=0.15.0", path = "./rust/lance-index" } | ||
lance-io = { version = "=0.15.0", path = "./rust/lance-io" } | ||
lance-linalg = { version = "=0.15.0", path = "./rust/lance-linalg" } | ||
lance-table = { version = "=0.15.0", path = "./rust/lance-table" } | ||
lance-test-macros = { version = "=0.15.0", path = "./rust/lance-test-macros" } | ||
lance-testing = { version = "=0.15.0", path = "./rust/lance-testing" } | ||
approx = "0.5.1" | ||
# Note that this one does not include pyarrow | ||
arrow = { version = "51.0.0", optional = false, features = ["prettyprint"] } | ||
arrow-arith = "51.0" | ||
arrow-array = "51.0" | ||
arrow-buffer = "51.0" | ||
arrow-cast = "51.0" | ||
arrow-data = "51.0" | ||
arrow-ipc = { version = "51.0", features = ["zstd"] } | ||
arrow-ord = "51.0" | ||
arrow-row = "51.0" | ||
arrow-schema = "51.0" | ||
arrow-select = "51.0" | ||
arrow = { version = "52.1", optional = false, features = ["prettyprint"] } | ||
arrow-arith = "52.1" | ||
arrow-array = "52.1" | ||
arrow-buffer = "52.1" | ||
arrow-cast = "52.1" | ||
arrow-data = "52.1" | ||
arrow-ipc = { version = "52.1", features = ["zstd"] } | ||
arrow-ord = "52.1" | ||
arrow-row = "52.1" | ||
arrow-schema = "52.1" | ||
arrow-select = "52.1" | ||
async-recursion = "1.0" | ||
async-trait = "0.1" | ||
aws-config = "0.57" | ||
|
@@ -93,17 +93,18 @@ criterion = { version = "0.5", features = [ | |
"html_reports", | ||
] } | ||
crossbeam-queue = "0.3" | ||
datafusion = { version = "37.1", default-features = false, features = [ | ||
datafusion = { version = "40.0", default-features = false, features = [ | ||
"array_expressions", | ||
"regex_expressions", | ||
"unicode_expressions", | ||
] } | ||
datafusion-common = "37.1" | ||
datafusion-functions = { version = "37.1", features = ["regex_expressions"] } | ||
datafusion-sql = "37.1" | ||
datafusion-expr = "37.1" | ||
datafusion-execution = "37.1" | ||
datafusion-optimizer = "37.1" | ||
datafusion-physical-expr = { version = "37.1", features = [ | ||
datafusion-common = "40.0" | ||
datafusion-functions = { version = "40.0", features = ["regex_expressions"] } | ||
datafusion-sql = "40.0" | ||
datafusion-expr = "40.0" | ||
datafusion-execution = "40.0" | ||
datafusion-optimizer = "40.0" | ||
datafusion-physical-expr = { version = "40.0", features = [ | ||
"regex_expressions", | ||
] } | ||
deepsize = "0.2.0" | ||
|
@@ -119,8 +120,8 @@ mock_instant = { version = "0.3.1", features = ["sync"] } | |
moka = "0.11" | ||
num-traits = "0.2" | ||
num_cpus = "1.0" | ||
object_store = { version = "0.9.0" } | ||
parquet = "51.0" | ||
object_store = { version = "0.10.1" } | ||
parquet = "52.0" | ||
pin-project = "1.0" | ||
path_abs = "0.5" | ||
pprof = { version = "0.13", features = ["flamegraph", "criterion"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "pylance" | ||
version = "0.14.2" | ||
version = "0.15.0" | ||
edition = "2021" | ||
authors = ["Lance Devs <[email protected]>"] | ||
rust-version = "1.65" | ||
|
@@ -12,11 +12,11 @@ name = "lance" | |
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
arrow = { version = "51.0.0", features = ["pyarrow"] } | ||
arrow-array = "51.0" | ||
arrow-data = "51.0" | ||
arrow-schema = "51.0" | ||
object_store = "0.9.0" | ||
arrow = { version = "52.1", features = ["pyarrow"] } | ||
arrow-array = "52.1" | ||
arrow-data = "52.1" | ||
arrow-schema = "52.1" | ||
object_store = "0.10.1" | ||
async-trait = "0.1" | ||
chrono = "0.4.31" | ||
env_logger = "0.10" | ||
|
@@ -42,7 +42,7 @@ lance-table = { path = "../rust/lance-table" } | |
lazy_static = "1" | ||
log = "0.4" | ||
prost = "0.12.2" | ||
pyo3 = { version = "0.20", features = ["extension-module", "abi3-py39"] } | ||
pyo3 = { version = "0.21", features = ["extension-module", "abi3-py39", "gil-refs"] } | ||
tokio = { version = "1.23", features = ["rt-multi-thread"] } | ||
uuid = "1.3.0" | ||
serde_json = "1" | ||
|
@@ -55,9 +55,6 @@ tracing-subscriber = "0.3.17" | |
tracing = "0.1.37" | ||
url = "2.5.0" | ||
|
||
# Prevent dynamic linking of lzma, which comes from datafusion | ||
lzma-sys = { version = "*", features = ["static"] } | ||
|
||
[features] | ||
datagen = ["lance-datagen"] | ||
fp16kernels = ["lance/fp16kernels"] | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.