Skip to content

Commit 078dca8

Browse files
remove logical expr CrossJoin
It was removed upstream. Ref: apache/datafusion#13076
1 parent 4cf0179 commit 078dca8

File tree

5 files changed

+0
-102
lines changed

5 files changed

+0
-102
lines changed

python/datafusion/expr.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
Column = expr_internal.Column
5252
CreateMemoryTable = expr_internal.CreateMemoryTable
5353
CreateView = expr_internal.CreateView
54-
CrossJoin = expr_internal.CrossJoin
5554
Distinct = expr_internal.Distinct
5655
DropTable = expr_internal.DropTable
5756
EmptyRelation = expr_internal.EmptyRelation
@@ -140,7 +139,6 @@
140139
"Join",
141140
"JoinType",
142141
"JoinConstraint",
143-
"CrossJoin",
144142
"Union",
145143
"Unnest",
146144
"UnnestExpr",

python/tests/test_imports.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
Join,
4747
JoinType,
4848
JoinConstraint,
49-
CrossJoin,
5049
Union,
5150
Like,
5251
ILike,
@@ -129,7 +128,6 @@ def test_class_module_is_datafusion():
129128
Join,
130129
JoinType,
131130
JoinConstraint,
132-
CrossJoin,
133131
Union,
134132
Like,
135133
ILike,

src/expr.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ pub mod column;
6565
pub mod conditional_expr;
6666
pub mod create_memory_table;
6767
pub mod create_view;
68-
pub mod cross_join;
6968
pub mod distinct;
7069
pub mod drop_table;
7170
pub mod empty_relation;
@@ -775,7 +774,6 @@ pub(crate) fn init_module(m: &Bound<'_, PyModule>) -> PyResult<()> {
775774
m.add_class::<join::PyJoin>()?;
776775
m.add_class::<join::PyJoinType>()?;
777776
m.add_class::<join::PyJoinConstraint>()?;
778-
m.add_class::<cross_join::PyCrossJoin>()?;
779777
m.add_class::<union::PyUnion>()?;
780778
m.add_class::<unnest::PyUnnest>()?;
781779
m.add_class::<unnest_expr::PyUnnestExpr>()?;

src/expr/cross_join.rs

Lines changed: 0 additions & 94 deletions
This file was deleted.

src/sql/logical.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ use std::sync::Arc;
1919

2020
use crate::expr::aggregate::PyAggregate;
2121
use crate::expr::analyze::PyAnalyze;
22-
use crate::expr::cross_join::PyCrossJoin;
2322
use crate::expr::distinct::PyDistinct;
2423
use crate::expr::empty_relation::PyEmptyRelation;
2524
use crate::expr::explain::PyExplain;
@@ -68,7 +67,6 @@ impl PyLogicalPlan {
6867
match self.plan.as_ref() {
6968
LogicalPlan::Aggregate(plan) => PyAggregate::from(plan.clone()).to_variant(py),
7069
LogicalPlan::Analyze(plan) => PyAnalyze::from(plan.clone()).to_variant(py),
71-
LogicalPlan::CrossJoin(plan) => PyCrossJoin::from(plan.clone()).to_variant(py),
7270
LogicalPlan::Distinct(plan) => PyDistinct::from(plan.clone()).to_variant(py),
7371
LogicalPlan::EmptyRelation(plan) => PyEmptyRelation::from(plan.clone()).to_variant(py),
7472
LogicalPlan::Explain(plan) => PyExplain::from(plan.clone()).to_variant(py),

0 commit comments

Comments
 (0)