Skip to content

Commit 259f2e4

Browse files
authored
Upgrade to DataFusion 12.0.0 (#53)
1 parent adbcae3 commit 259f2e4

10 files changed

+135
-78
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ default = ["mimalloc"]
3333
[dependencies]
3434
tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread", "sync"] }
3535
rand = "0.7"
36-
pyo3 = { version = "~0.16.5", features = ["extension-module", "abi3", "abi3-py37"] }
37-
datafusion = { version = "^11.0.0", features = ["pyarrow"] }
38-
datafusion-expr = { version = "^11.0.0" }
39-
datafusion-common = { version = "^11.0.0", features = ["pyarrow"] }
36+
pyo3 = { version = "~0.17.1", features = ["extension-module", "abi3", "abi3-py37"] }
37+
datafusion = { version = "^12.0.0", features = ["pyarrow"] }
38+
datafusion-expr = { version = "^12.0.0" }
39+
datafusion-common = { version = "^12.0.0", features = ["pyarrow"] }
4040
uuid = { version = "0.8", features = ["v4"] }
4141
mimalloc = { version = "*", optional = true, default-features = false }
4242
async-trait = "0.1"

datafusion/tests/test_context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def test_dataset_filter(ctx, capfd):
133133
# Make sure the filter was pushed down in Physical Plan
134134
df.explain()
135135
captured = capfd.readouterr()
136-
assert "filter_expr=(((2 <= a) and (a <= 3)) and (b > 5))" in captured.out
136+
assert "filter_expr=(((a >= 2) and (a <= 3)) and (b > 5))" in captured.out
137137

138138
result = df.collect()
139139

0 commit comments

Comments
 (0)