Skip to content

Commit aa87617

Browse files
committed
fix clippy and format errors
1 parent ff1ab5d commit aa87617

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

optd-core/src/operator/relational/logical/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ use scan::Scan;
1717
/// - `ScalarLink`: Specifies whether the children scalars are other scalar operators or a group id.
1818
///
1919
/// This makes it possible to reuse the `LogicalOperator` type in [`LogicalPlan`],
20-
/// [`PartialLogicalPlan`], and [`LogicalExpr`].
20+
/// [`PartialLogicalPlan`], and [`LogicalExpression`].
2121
///
2222
/// [`LogicalPlan`]: crate::plan::logical_plan::LogicalPlan
2323
/// [`PartialLogicalPlan`]: crate::plan::partial_logical_plan::PartialLogicalPlan
24-
/// [`LogicalExpr`]: crate::expression::relational::LogicalExpr
24+
/// [`LogicalExpression`]: crate::expression::LogicalExpression
2525
#[derive(Clone)]
2626
pub enum LogicalOperator<RelLink, ScalarLink> {
2727
Scan(Scan<ScalarLink>),
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#[allow(clippy::module_inception)]
12
pub mod filter;

optd-core/src/operator/relational/physical/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ use scan::table_scan::TableScan;
1818
/// - `ScalarLink`: Specifies whether the children scalars are other scalar operators or a group id.
1919
///
2020
/// This makes it possible to reuse the `PhysicalOperator` type in [`PhysicalPlan`]
21-
/// and [`PhysicalExpr`].
21+
/// and [`PhysicalExpression`].
2222
///
2323
/// [`PhysicalPlan`]: crate::plan::physical_plan::PhysicalPlan
24-
/// [`PhysicalExpr`]: crate::expression::relational::PhysicalExpr
24+
/// [`PhysicalExpression`]: crate::expression::PhysicalExpression
2525
#[derive(Clone)]
2626
pub enum PhysicalOperator<RelLink, ScalarLink> {
2727
TableScan(TableScan<ScalarLink>),
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#[allow(clippy::module_inception)]
12
pub mod project;

optd-core/src/operator/scalar/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ use constants::Constant;
1313
/// - `ScalarLink`: Specifies whether the children scalars are other scalar operators or a group id.
1414
///
1515
/// This makes it possible to reuse the `ScalarOperator` type in [`LogicalPlan`],
16-
/// [`PhysicalPlan`], [`PartialLogicalPlan`], and [`ScalarExpr`].
16+
/// [`PhysicalPlan`], and [`PartialLogicalPlan`].
1717
///
1818
/// [`LogicalPlan`]: crate::plan::logical_plan::LogicalPlan
1919
/// [`PhysicalPlan`]: crate::plan::physical_plan::PhysicalPlan
2020
/// [`PartialLogicalPlan`]: crate::plan::partial_logical_plan::PartialLogicalPlan
21-
/// [`ScalarExpr`]: crate::expression::scalar::ScalarExpr
2221
#[derive(Clone)]
2322
pub enum ScalarOperator<ScalarLink> {
2423
Add(Add<ScalarLink>),

optd-core/src/rules/implementation/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub trait ImplementationRule {
1212
///
1313
/// If the input expression does not match the current rule's pattern, then this method returns
1414
/// `None`. Otherwise, it applies the implementation and returns the corresponding
15-
/// [`PhysicalExpr`].
15+
/// [`PhysicalExpression`].
1616
///
1717
/// Implementation rules are defined to be a mapping from a logical operator to a physical
1818
/// operator. This method is used by the rule engine to check if an implementation / algorithm

0 commit comments

Comments
 (0)