Skip to content

Apache DataFusion SQL Query Engine

Implement missing join types for Python dataframe (#503)

Daniël Heresa0370b273c6d
diff --git a/python/Cargo.toml b/python/Cargo.toml
index 859cf350ca..8f1480deed 100644
--- a/python/Cargo.toml
+++ b/python/Cargo.toml
@@ -31,7 +31,7 @@ libc = "0.2"
tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread", "sync"] }
rand = "0.7"
pyo3 = { version = "0.13.2", features = ["extension-module"] }
-datafusion = { git = "https://github.com/apache/arrow-datafusion.git", rev = "c3fc0c75af5ff2ebb99dba197d9d2ccd83eb5952" }
+datafusion = { git = "https://github.com/apache/arrow-datafusion.git", rev = "c92079dfb3045a9a46d12c3bc22361a44d11b8bc" }
[lib]
name = "datafusion"
diff --git a/python/src/dataframe.rs b/python/src/dataframe.rs
index 66e6916b68..8ceac64741 100644
--- a/python/src/dataframe.rs
+++ b/python/src/dataframe.rs
@@ -147,6 +147,9 @@ impl DataFrame {
"inner" => JoinType::Inner,
"left" => JoinType::Left,
"right" => JoinType::Right,
+ "full" => JoinType::Full,
+ "semi" => JoinType::Semi,
+ "anti" => JoinType::Anti,
how => {
return Err(DataFusionError::Common(format!(
"The join type {} does not exist or is not implemented",