Skip to content

Commit

Permalink
rename many types
Browse files Browse the repository at this point in the history
  • Loading branch information
connortsui20 committed Jan 15, 2025
1 parent 3240e31 commit 1f7d7fc
Show file tree
Hide file tree
Showing 9 changed files with 153 additions and 113 deletions.
13 changes: 13 additions & 0 deletions optd-types/src/expression/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
use relation::RelationExpression;
use scalar::ScalarExpression;

mod relation;
mod scalar;

pub use relation::{LogicalExpression, PhysicalExpression};

Check warning on line 7 in optd-types/src/expression/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/expression/mod.rs#L7

warning: unused import: `PhysicalExpression` --> optd-types/src/expression/mod.rs:7:39 | 7 | pub use relation::{LogicalExpression, PhysicalExpression}; | ^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Raw output
optd-types/src/expression/mod.rs:7:39:w:warning: unused import: `PhysicalExpression`
 --> optd-types/src/expression/mod.rs:7:39
  |
7 | pub use relation::{LogicalExpression, PhysicalExpression};
  |                                       ^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default


__END__

/// A type representing an optimization operator in the memo table.
pub enum Expression {

Check warning on line 10 in optd-types/src/expression/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/expression/mod.rs#L10

warning: enum `Expression` is never used --> optd-types/src/expression/mod.rs:10:10 | 10 | pub enum Expression { | ^^^^^^^^^^
Raw output
optd-types/src/expression/mod.rs:10:10:w:warning: enum `Expression` is never used
  --> optd-types/src/expression/mod.rs:10:10
   |
10 | pub enum Expression {
   |          ^^^^^^^^^^


__END__
RelationExpression(RelationExpression),
ScalarExpression(ScalarExpression),
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::GroupId;

/// A type representing different kinds of logical expressions / operators.
/// A type representing different kinds of logical expressions in the memo table.
pub enum LogicalExpression {

Check warning on line 4 in optd-types/src/expression/relation/logical.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/expression/relation/logical.rs#L4

warning: enum `LogicalExpression` is never used --> optd-types/src/expression/relation/logical.rs:4:10 | 4 | pub enum LogicalExpression { | ^^^^^^^^^^^^^^^^^
Raw output
optd-types/src/expression/relation/logical.rs:4:10:w:warning: enum `LogicalExpression` is never used
 --> optd-types/src/expression/relation/logical.rs:4:10
  |
4 | pub enum LogicalExpression {
  |          ^^^^^^^^^^^^^^^^^


__END__
Scan(Scan),

Check warning on line 5 in optd-types/src/expression/relation/logical.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/expression/relation/logical.rs#L5

warning: type `expression::relation::logical::Scan` is more private than the item `expression::relation::logical::LogicalExpression::Scan::0` --> optd-types/src/expression/relation/logical.rs:5:10 | 5 | Scan(Scan), | ^^^^ field `expression::relation::logical::LogicalExpression::Scan::0` is reachable at visibility `pub(crate)` | note: but type `expression::relation::logical::Scan` is only usable at visibility `pub(self)` --> optd-types/src/expression/relation/logical.rs:11:1 | 11 | struct Scan { | ^^^^^^^^^^^ = note: `#[warn(private_interfaces)]` on by default
Raw output
optd-types/src/expression/relation/logical.rs:5:10:w:warning: type `expression::relation::logical::Scan` is more private than the item `expression::relation::logical::LogicalExpression::Scan::0`
  --> optd-types/src/expression/relation/logical.rs:5:10
   |
5  |     Scan(Scan),
   |          ^^^^ field `expression::relation::logical::LogicalExpression::Scan::0` is reachable at visibility `pub(crate)`
   |
note: but type `expression::relation::logical::Scan` is only usable at visibility `pub(self)`
  --> optd-types/src/expression/relation/logical.rs:11:1
   |
11 | struct Scan {
   | ^^^^^^^^^^^
   = note: `#[warn(private_interfaces)]` on by default


__END__
Filter(Filter),

Check warning on line 6 in optd-types/src/expression/relation/logical.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/expression/relation/logical.rs#L6

warning: type `expression::relation::logical::Filter` is more private than the item `expression::relation::logical::LogicalExpression::Filter::0` --> optd-types/src/expression/relation/logical.rs:6:12 | 6 | Filter(Filter), | ^^^^^^ field `expression::relation::logical::LogicalExpression::Filter::0` is reachable at visibility `pub(crate)` | note: but type `expression::relation::logical::Filter` is only usable at visibility `pub(self)` --> optd-types/src/expression/relation/logical.rs:15:1 | 15 | struct Filter { | ^^^^^^^^^^^^^
Raw output
optd-types/src/expression/relation/logical.rs:6:12:w:warning: type `expression::relation::logical::Filter` is more private than the item `expression::relation::logical::LogicalExpression::Filter::0`
  --> optd-types/src/expression/relation/logical.rs:6:12
   |
6  |     Filter(Filter),
   |            ^^^^^^ field `expression::relation::logical::LogicalExpression::Filter::0` is reachable at visibility `pub(crate)`
   |
note: but type `expression::relation::logical::Filter` is only usable at visibility `pub(self)`
  --> optd-types/src/expression/relation/logical.rs:15:1
   |
15 | struct Filter {
   | ^^^^^^^^^^^^^


__END__
Expand Down
11 changes: 11 additions & 0 deletions optd-types/src/expression/relation/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
mod logical;
pub use logical::LogicalExpression;

mod physical;
pub use physical::PhysicalExpression;

/// A type representing logical or physical expressions in the memo table.
pub enum RelationExpression {

Check warning on line 8 in optd-types/src/expression/relation/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/expression/relation/mod.rs#L8

warning: enum `RelationExpression` is never used --> optd-types/src/expression/relation/mod.rs:8:10 | 8 | pub enum RelationExpression { | ^^^^^^^^^^^^^^^^^^
Raw output
optd-types/src/expression/relation/mod.rs:8:10:w:warning: enum `RelationExpression` is never used
 --> optd-types/src/expression/relation/mod.rs:8:10
  |
8 | pub enum RelationExpression {
  |          ^^^^^^^^^^^^^^^^^^


__END__
LogicalExpression(LogicalExpression),
PhysicalExpression(PhysicalExpression),
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::GroupId;

/// A type representing different kinds of physical expressions / operators.
/// A type representing different kinds of physical expressions in the memo table.
pub enum PhysicalExpression {

Check warning on line 4 in optd-types/src/expression/relation/physical.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/expression/relation/physical.rs#L4

warning: enum `PhysicalExpression` is never used --> optd-types/src/expression/relation/physical.rs:4:10 | 4 | pub enum PhysicalExpression { | ^^^^^^^^^^^^^^^^^^
Raw output
optd-types/src/expression/relation/physical.rs:4:10:w:warning: enum `PhysicalExpression` is never used
 --> optd-types/src/expression/relation/physical.rs:4:10
  |
4 | pub enum PhysicalExpression {
  |          ^^^^^^^^^^^^^^^^^^


__END__
TableScan(TableScan),

Check warning on line 5 in optd-types/src/expression/relation/physical.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/expression/relation/physical.rs#L5

warning: type `expression::relation::physical::TableScan` is more private than the item `expression::relation::physical::PhysicalExpression::TableScan::0` --> optd-types/src/expression/relation/physical.rs:5:15 | 5 | TableScan(TableScan), | ^^^^^^^^^ field `expression::relation::physical::PhysicalExpression::TableScan::0` is reachable at visibility `pub(crate)` | note: but type `expression::relation::physical::TableScan` is only usable at visibility `pub(self)` --> optd-types/src/expression/relation/physical.rs:12:1 | 12 | struct TableScan { | ^^^^^^^^^^^^^^^^
Raw output
optd-types/src/expression/relation/physical.rs:5:15:w:warning: type `expression::relation::physical::TableScan` is more private than the item `expression::relation::physical::PhysicalExpression::TableScan::0`
  --> optd-types/src/expression/relation/physical.rs:5:15
   |
5  |     TableScan(TableScan),
   |               ^^^^^^^^^ field `expression::relation::physical::PhysicalExpression::TableScan::0` is reachable at visibility `pub(crate)`
   |
note: but type `expression::relation::physical::TableScan` is only usable at visibility `pub(self)`
  --> optd-types/src/expression/relation/physical.rs:12:1
   |
12 | struct TableScan {
   | ^^^^^^^^^^^^^^^^


__END__
PhysicalFilter(PhysicalFilter),

Check warning on line 6 in optd-types/src/expression/relation/physical.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/expression/relation/physical.rs#L6

warning: type `expression::relation::physical::PhysicalFilter` is more private than the item `expression::relation::physical::PhysicalExpression::PhysicalFilter::0` --> optd-types/src/expression/relation/physical.rs:6:20 | 6 | PhysicalFilter(PhysicalFilter), | ^^^^^^^^^^^^^^ field `expression::relation::physical::PhysicalExpression::PhysicalFilter::0` is reachable at visibility `pub(crate)` | note: but type `expression::relation::physical::PhysicalFilter` is only usable at visibility `pub(self)` --> optd-types/src/expression/relation/physical.rs:16:1 | 16 | struct PhysicalFilter { | ^^^^^^^^^^^^^^^^^^^^^
Raw output
optd-types/src/expression/relation/physical.rs:6:20:w:warning: type `expression::relation::physical::PhysicalFilter` is more private than the item `expression::relation::physical::PhysicalExpression::PhysicalFilter::0`
  --> optd-types/src/expression/relation/physical.rs:6:20
   |
6  |     PhysicalFilter(PhysicalFilter),
   |                    ^^^^^^^^^^^^^^ field `expression::relation::physical::PhysicalExpression::PhysicalFilter::0` is reachable at visibility `pub(crate)`
   |
note: but type `expression::relation::physical::PhysicalFilter` is only usable at visibility `pub(self)`
  --> optd-types/src/expression/relation/physical.rs:16:1
   |
16 | struct PhysicalFilter {
   | ^^^^^^^^^^^^^^^^^^^^^


__END__
Expand All @@ -18,7 +18,6 @@ struct PhysicalFilter {
predicate: GroupId,
}


struct SortMergeJoin {

Check warning on line 21 in optd-types/src/expression/relation/physical.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/expression/relation/physical.rs#L21

warning: struct `SortMergeJoin` is never constructed --> optd-types/src/expression/relation/physical.rs:21:8 | 21 | struct SortMergeJoin { | ^^^^^^^^^^^^^
Raw output
optd-types/src/expression/relation/physical.rs:21:8:w:warning: struct `SortMergeJoin` is never constructed
  --> optd-types/src/expression/relation/physical.rs:21:8
   |
21 | struct SortMergeJoin {
   |        ^^^^^^^^^^^^^


__END__
left: GroupId,
right: GroupId,
Expand All @@ -36,4 +35,3 @@ struct MergeSort {
child: GroupId,
sort_expr: GroupId,
}

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// A type that represent scalar SQL expression / predicates.
///
/// TODO Add fields to this type.
pub struct Scalar;
pub struct ScalarExpression;

Check warning on line 4 in optd-types/src/expression/scalar.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/expression/scalar.rs#L4

warning: struct `ScalarExpression` is never constructed --> optd-types/src/expression/scalar.rs:4:12 | 4 | pub struct ScalarExpression; | ^^^^^^^^^^^^^^^^
Raw output
optd-types/src/expression/scalar.rs:4:12:w:warning: struct `ScalarExpression` is never constructed
 --> optd-types/src/expression/scalar.rs:4:12
  |
4 | pub struct ScalarExpression;
  |            ^^^^^^^^^^^^^^^^


__END__
36 changes: 29 additions & 7 deletions optd-types/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,37 @@
mod expression;
mod memo;
pub use memo::MemoNode;

/// A type representing a transformation or implementation rule for query operators.
pub struct GroupId(usize);

Check warning on line 4 in optd-types/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/lib.rs#L4

warning: field `0` is never read --> optd-types/src/lib.rs:4:20 | 4 | pub struct GroupId(usize); | ------- ^^^^^ | | | field in this struct | = help: consider removing this field = note: `#[warn(dead_code)]` on by default
Raw output
optd-types/src/lib.rs:4:12:w:warning: field `0` is never read
 --> optd-types/src/lib.rs:4:20
  |
4 | pub struct GroupId(usize);
  |            ------- ^^^^^
  |            |
  |            field in this struct
  |
  = help: consider removing this field
  = note: `#[warn(dead_code)]` on by default


__END__

pub struct LogicalOperator;

pub struct PhysicalOperator;

pub struct ScalarOperator;

/// A type representing a tree of logical nodes, scalar nodes, and group IDs.
///
/// TODO The variants are just placeholders.
pub enum Rule {
Transformation,
Implementation
/// Note that group IDs must be leaves of this tree.
///
/// TODO Make this an actual tree with the correct modeling of types.
pub enum PartialLogicalPlan {
LogicalOperator(LogicalOperator),
ScalarOperator(ScalarOperator),
GroupId(GroupId),
}

pub struct GroupId(usize);
/// A type representing a tree of logical nodes, physical nodes, scalar nodes, and group IDs.
///
/// Note that group IDs must be leaves of this tree, and that physical nodes cannot have children
/// that are logical nodes.
///
/// TODO Make this an actual tree with the correct modeling of types.
pub enum PartialPhysicalPlan {
LogicalOperator(LogicalOperator),
PhysicalOperator(PhysicalOperator),
ScalarOperator(ScalarOperator),
GroupId(GroupId),
}

/// An in-memory tree of logical operators. Used as the input / entrypoint of the optimizer.
///
Expand Down
61 changes: 15 additions & 46 deletions optd-types/src/memo/mod.rs
Original file line number Diff line number Diff line change
@@ -1,43 +1,12 @@
use relation::{LogicalExpression, Relation};
use scalar::Scalar;
use crate::expression::{Expression, LogicalExpression};
use crate::{PartialLogicalPlan, PartialPhysicalPlan};

use crate::{GroupId, Rule};

mod relation;
mod scalar;

/// A type representing an optimization node / object in the memo table.
pub enum MemoNode {
Relation(Relation),
Scalar(Scalar),
}

pub struct LogicalOperator;

pub struct PhysicalOperator;

/// A type representing a tree of logical nodes, scalar nodes, and group IDs.
///
/// Note that group IDs must be leaves of this tree.
///
/// TODO Make this an actual tree with the correct modeling of types.
pub enum PartialLogicalExpression {
LogicalOperator(LogicalOperator),
Scalar(Scalar),
GroupId(GroupId),
}

/// A type representing a tree of logical nodes, physical nodes, scalar nodes, and group IDs.
///
/// Note that group IDs must be leaves of this tree, and that physical nodes cannot have children
/// that are logical nodes.
/// A type representing a transformation or implementation rule for query operators.
///
/// TODO Make this an actual tree with the correct modeling of types.
pub enum PartialPhysicalExpression {
LogicalOperator(LogicalOperator),
PhysicalOperator(PhysicalOperator),
Scalar(Scalar),
GroupId(GroupId),
/// TODO The variants are just placeholders.
pub enum Rule {

Check warning on line 7 in optd-types/src/memo/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/memo/mod.rs#L7

warning: enum `Rule` is never used --> optd-types/src/memo/mod.rs:7:10 | 7 | pub enum Rule { | ^^^^
Raw output
optd-types/src/memo/mod.rs:7:10:w:warning: enum `Rule` is never used
 --> optd-types/src/memo/mod.rs:7:10
  |
7 | pub enum Rule {
  |          ^^^^


__END__
Transformation,
Implementation,
}

pub struct Memo;

Check warning on line 12 in optd-types/src/memo/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/memo/mod.rs#L12

warning: struct `Memo` is never constructed --> optd-types/src/memo/mod.rs:12:12 | 12 | pub struct Memo; | ^^^^
Raw output
optd-types/src/memo/mod.rs:12:12:w:warning: struct `Memo` is never constructed
  --> optd-types/src/memo/mod.rs:12:12
   |
12 | pub struct Memo;
   |            ^^^^


__END__
Expand All @@ -54,39 +23,39 @@ impl Memo {
///
/// If the rule wants to match against `Filter(Join(?L, ?R))`, then this function will partially
/// materialize two expressions `Filter(e1)` and `Filter(e2)`.
pub async fn check_transformation(
pub async fn check_transformation(
&self,
expr: LogicalExpression,

Check warning on line 28 in optd-types/src/memo/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/memo/mod.rs#L28

warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:28:9 | 28 | expr: LogicalExpression, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` | = note: `#[warn(unused_variables)]` on by default
Raw output
optd-types/src/memo/mod.rs:28:9:w:warning: unused variable: `expr`
  --> optd-types/src/memo/mod.rs:28:9
   |
28 |         expr: LogicalExpression,
   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
   |
   = note: `#[warn(unused_variables)]` on by default


__END__
rule: Rule,

Check warning on line 29 in optd-types/src/memo/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/memo/mod.rs#L29

warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:29:9 | 29 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
Raw output
optd-types/src/memo/mod.rs:29:9:w:warning: unused variable: `rule`
  --> optd-types/src/memo/mod.rs:29:9
   |
29 |         rule: Rule,
   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`


__END__
) -> Vec<PartialLogicalExpression> {
) -> Vec<PartialLogicalPlan> {
todo!()
}

pub async fn check_implementation(
&self,
expr: LogicalExpression,

Check warning on line 36 in optd-types/src/memo/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/memo/mod.rs#L36

warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:36:9 | 36 | expr: LogicalExpression, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
Raw output
optd-types/src/memo/mod.rs:36:9:w:warning: unused variable: `expr`
  --> optd-types/src/memo/mod.rs:36:9
   |
36 |         expr: LogicalExpression,
   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`


__END__
rule: Rule,

Check warning on line 37 in optd-types/src/memo/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/memo/mod.rs#L37

warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:37:9 | 37 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
Raw output
optd-types/src/memo/mod.rs:37:9:w:warning: unused variable: `rule`
  --> optd-types/src/memo/mod.rs:37:9
   |
37 |         rule: Rule,
   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`


__END__
) -> Vec<PartialPhysicalExpression> {
) -> Vec<PartialPhysicalPlan> {
todo!()
}

pub fn apply_transformation(
&mut self,
expr: PartialLogicalExpression,
expr: PartialLogicalPlan,

Check warning on line 44 in optd-types/src/memo/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/memo/mod.rs#L44

warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:44:9 | 44 | expr: PartialLogicalPlan, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
Raw output
optd-types/src/memo/mod.rs:44:9:w:warning: unused variable: `expr`
  --> optd-types/src/memo/mod.rs:44:9
   |
44 |         expr: PartialLogicalPlan,
   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`


__END__
rule: Rule,

Check warning on line 45 in optd-types/src/memo/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/memo/mod.rs#L45

warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:45:9 | 45 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
Raw output
optd-types/src/memo/mod.rs:45:9:w:warning: unused variable: `rule`
  --> optd-types/src/memo/mod.rs:45:9
   |
45 |         rule: Rule,
   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`


__END__
) -> Vec<MemoNode> {
) -> Vec<Expression> {
todo!()
}

pub fn apply_implementation(
&mut self,
expr: PartialPhysicalExpression,
expr: PartialPhysicalPlan,

Check warning on line 52 in optd-types/src/memo/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/memo/mod.rs#L52

warning: unused variable: `expr` --> optd-types/src/memo/mod.rs:52:9 | 52 | expr: PartialPhysicalPlan, | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
Raw output
optd-types/src/memo/mod.rs:52:9:w:warning: unused variable: `expr`
  --> optd-types/src/memo/mod.rs:52:9
   |
52 |         expr: PartialPhysicalPlan,
   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`


__END__
rule: Rule,

Check warning on line 53 in optd-types/src/memo/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/memo/mod.rs#L53

warning: unused variable: `rule` --> optd-types/src/memo/mod.rs:53:9 | 53 | rule: Rule, | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
Raw output
optd-types/src/memo/mod.rs:53:9:w:warning: unused variable: `rule`
  --> optd-types/src/memo/mod.rs:53:9
   |
53 |         rule: Rule,
   |         ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`


__END__
) -> Vec<MemoNode> {
) -> Vec<Expression> {
todo!()
}

pub fn add_expressions(&mut self, new_exprs: Vec<MemoNode>) {
pub async fn add_expressions(&mut self, new_exprs: Vec<Expression>) {

Check warning on line 58 in optd-types/src/memo/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

[clippy] optd-types/src/memo/mod.rs#L58

warning: unused variable: `new_exprs` --> optd-types/src/memo/mod.rs:58:45 | 58 | pub async fn add_expressions(&mut self, new_exprs: Vec<Expression>) { | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_exprs`
Raw output
optd-types/src/memo/mod.rs:58:45:w:warning: unused variable: `new_exprs`
  --> optd-types/src/memo/mod.rs:58:45
   |
58 |     pub async fn add_expressions(&mut self, new_exprs: Vec<Expression>) {
   |                                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_exprs`


__END__
todo!()
}
}
11 changes: 0 additions & 11 deletions optd-types/src/memo/relation/mod.rs

This file was deleted.

Loading

0 comments on commit 1f7d7fc

Please sign in to comment.