Skip to content

Commit 028426e

Browse files
committed
patch datafusion to tag43-parquet
1 parent 996b048 commit 028426e

File tree

2 files changed

+70
-60
lines changed

2 files changed

+70
-60
lines changed

Cargo.lock

Lines changed: 27 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 43 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,65 @@ readme = "README.md"
2626
license = "Apache-2.0"
2727
edition = "2021"
2828
rust-version = "1.78"
29-
include = ["/src", "/datafusion", "/LICENSE.txt", "pyproject.toml", "Cargo.toml", "Cargo.lock"]
29+
include = [
30+
"/src",
31+
"/datafusion",
32+
"/LICENSE.txt",
33+
"pyproject.toml",
34+
"Cargo.toml",
35+
"Cargo.lock",
36+
]
3037

3138
[features]
3239
default = ["mimalloc"]
33-
protoc = [ "datafusion-substrait/protoc" ]
40+
protoc = ["datafusion-substrait/protoc"]
3441
substrait = ["dep:datafusion-substrait"]
3542

3643
[dependencies]
37-
tokio = { version = "1.41", features = ["macros", "rt", "rt-multi-thread", "sync"] }
38-
pyo3 = { version = "0.22", features = ["extension-module", "abi3", "abi3-py38"] }
44+
tokio = { version = "1.41", features = [
45+
"macros",
46+
"rt",
47+
"rt-multi-thread",
48+
"sync",
49+
] }
50+
pyo3 = { version = "0.22", features = [
51+
"extension-module",
52+
"abi3",
53+
"abi3-py38",
54+
] }
3955
arrow = { version = "53", features = ["pyarrow"] }
40-
datafusion = { version = "43.0.0", features = ["pyarrow", "avro", "unicode_expressions"] }
56+
datafusion = { version = "43.0.0", features = [
57+
"pyarrow",
58+
"avro",
59+
"unicode_expressions",
60+
] }
4161
datafusion-substrait = { version = "43.0.0", optional = true }
4262
datafusion-proto = { version = "43.0.0" }
4363
datafusion-ffi = { version = "43.0.0" }
4464
datafusion-functions-window-common = { version = "43.0.0" }
4565
prost = "0.13" # keep in line with `datafusion-substrait`
4666
uuid = { version = "1.11", features = ["v4"] }
47-
mimalloc = { version = "0.1", optional = true, default-features = false, features = ["local_dynamic_tls"] }
67+
mimalloc = { version = "0.1", optional = true, default-features = false, features = [
68+
"local_dynamic_tls",
69+
] }
4870
async-trait = "0.1"
4971
futures = "0.3"
50-
object_store = { version = "0.11.0", features = ["aws", "gcp", "azure", "http"] }
72+
object_store = { version = "0.11.0", features = [
73+
"aws",
74+
"gcp",
75+
"azure",
76+
"http",
77+
] }
5178
url = "2"
52-
79+
# patch datafusion
80+
[patch.crates-io]
81+
datafusion = { git = "https://github.com/kosiew/datafusion", branch = "tag43-parquet" }
82+
datafusion-proto = { git = "https://github.com/kosiew/datafusion", branch = "tag43-parquet" }
83+
datafusion-ffi = { git = "https://github.com/kosiew/datafusion", branch = "tag43-parquet" }
84+
datafusion-functions-window-common = { git = "https://github.com/kosiew/datafusion", branch = "tag43-parquet" }
85+
datafusion-substrait = { git = "https://github.com/kosiew/datafusion", branch = "tag43-parquet" }
5386
[build-dependencies]
54-
prost-types = "0.13" # keep in line with `datafusion-substrait`
87+
prost-types = "0.13" # keep in line with `datafusion-substrait`
5588
pyo3-build-config = "0.22"
5689

5790
[lib]
@@ -60,4 +93,4 @@ crate-type = ["cdylib", "rlib"]
6093

6194
[profile.release]
6295
lto = true
63-
codegen-units = 1
96+
codegen-units = 1

0 commit comments

Comments
 (0)