This is an automated email from the ASF dual-hosted git repository.

agrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new f8800a843 Remove Offset struct (#2734)
f8800a843 is described below

commit f8800a84334eec8f31806659ed65f87284ad9643
Author: Andy Grove <[email protected]>
AuthorDate: Wed Jun 15 06:15:17 2022 -0600

    Remove Offset struct (#2734)
---
 datafusion/core/src/logical_plan/mod.rs  | 4 ++--
 datafusion/core/src/logical_plan/plan.rs | 2 +-
 datafusion/expr/src/logical_plan/mod.rs  | 5 ++---
 datafusion/expr/src/logical_plan/plan.rs | 9 ---------
 4 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/datafusion/core/src/logical_plan/mod.rs 
b/datafusion/core/src/logical_plan/mod.rs
index ea6238f40..f568c88ee 100644
--- a/datafusion/core/src/logical_plan/mod.rs
+++ b/datafusion/core/src/logical_plan/mod.rs
@@ -46,8 +46,8 @@ pub use datafusion_expr::{
         },
         CreateCatalog, CreateCatalogSchema, CreateExternalTable, 
CreateMemoryTable,
         CreateView, CrossJoin, DropTable, EmptyRelation, FileType, 
JoinConstraint,
-        JoinType, Limit, LogicalPlan, Offset, Partitioning, PlanType, 
PlanVisitor,
-        Repartition, StringifiedPlan, Subquery, TableScan, ToStringifiedPlan, 
Union,
+        JoinType, Limit, LogicalPlan, Partitioning, PlanType, PlanVisitor, 
Repartition,
+        StringifiedPlan, Subquery, TableScan, ToStringifiedPlan, Union,
         UserDefinedLogicalNode, Values,
     },
     lower, lpad, ltrim, max, md5, min, not_exists, not_in_subquery, now, 
now_expr,
diff --git a/datafusion/core/src/logical_plan/plan.rs 
b/datafusion/core/src/logical_plan/plan.rs
index e841b22ee..5c9e3d16e 100644
--- a/datafusion/core/src/logical_plan/plan.rs
+++ b/datafusion/core/src/logical_plan/plan.rs
@@ -24,7 +24,7 @@ pub use datafusion_expr::{
         Aggregate, Analyze, CreateCatalog, CreateCatalogSchema, 
CreateExternalTable,
         CreateMemoryTable, CreateView, CrossJoin, DropTable, EmptyRelation, 
Explain,
         Extension, FileType, Filter, Join, JoinConstraint, JoinType, Limit, 
LogicalPlan,
-        Offset, Partitioning, PlanType, PlanVisitor, Projection, Repartition, 
Sort,
+        Partitioning, PlanType, PlanVisitor, Projection, Repartition, Sort,
         StringifiedPlan, Subquery, SubqueryAlias, TableScan, 
ToStringifiedPlan, Union,
         UserDefinedLogicalNode, Values, Window,
     },
diff --git a/datafusion/expr/src/logical_plan/mod.rs 
b/datafusion/expr/src/logical_plan/mod.rs
index f3bd051e5..25700ced1 100644
--- a/datafusion/expr/src/logical_plan/mod.rs
+++ b/datafusion/expr/src/logical_plan/mod.rs
@@ -25,9 +25,8 @@ pub use plan::{
     Aggregate, Analyze, CreateCatalog, CreateCatalogSchema, 
CreateExternalTable,
     CreateMemoryTable, CreateView, CrossJoin, DropTable, EmptyRelation, 
Explain,
     Extension, FileType, Filter, Join, JoinConstraint, JoinType, Limit, 
LogicalPlan,
-    Offset, Partitioning, PlanType, PlanVisitor, Projection, Repartition, Sort,
-    StringifiedPlan, Subquery, SubqueryAlias, TableScan, ToStringifiedPlan, 
Union,
-    Values, Window,
+    Partitioning, PlanType, PlanVisitor, Projection, Repartition, Sort, 
StringifiedPlan,
+    Subquery, SubqueryAlias, TableScan, ToStringifiedPlan, Union, Values, 
Window,
 };
 
 pub use display::display_schema;
diff --git a/datafusion/expr/src/logical_plan/plan.rs 
b/datafusion/expr/src/logical_plan/plan.rs
index bb87dc707..5b21a7ef3 100644
--- a/datafusion/expr/src/logical_plan/plan.rs
+++ b/datafusion/expr/src/logical_plan/plan.rs
@@ -1175,15 +1175,6 @@ pub struct Limit {
     pub input: Arc<LogicalPlan>,
 }
 
-/// Adjusts the starting point at which the rest of the expressions begin to 
effect
-#[derive(Clone)]
-pub struct Offset {
-    /// The offset
-    pub offset: usize,
-    /// The logical plan
-    pub input: Arc<LogicalPlan>,
-}
-
 /// Aggregates its input based on a set of grouping and aggregate
 /// expressions (e.g. SUM).
 #[derive(Clone)]

Reply via email to