reviewdog [clippy] report
reported by reviewdog 🐶
Findings (30)
optd-types/src/memo/mod.rs|30 col 9| warning: unused variable: expr
--> optd-types/src/memo/mod.rs:30:9
|
30 | expr: LogicalOperator,
| ^^^^ help: if this is intentional, prefix it with an underscore: _expr
|
= note: #[warn(unused_variables)]
on by default
optd-types/src/memo/mod.rs|31 col 9| warning: unused variable: rule
--> optd-types/src/memo/mod.rs:31:9
|
31 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: _rule
optd-types/src/memo/mod.rs|38 col 9| warning: unused variable: expr
--> optd-types/src/memo/mod.rs:38:9
|
38 | expr: LogicalOperator,
| ^^^^ help: if this is intentional, prefix it with an underscore: _expr
optd-types/src/memo/mod.rs|39 col 9| warning: unused variable: rule
--> optd-types/src/memo/mod.rs:39:9
|
39 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: _rule
optd-types/src/memo/mod.rs|46 col 9| warning: unused variable: expr
--> optd-types/src/memo/mod.rs:46:9
|
46 | expr: PartialLogicalExpression,
| ^^^^ help: if this is intentional, prefix it with an underscore: _expr
optd-types/src/memo/mod.rs|47 col 9| warning: unused variable: rule
--> optd-types/src/memo/mod.rs:47:9
|
47 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: _rule
optd-types/src/memo/mod.rs|54 col 9| warning: unused variable: expr
--> optd-types/src/memo/mod.rs:54:9
|
54 | expr: PartialPhysicalExpression,
| ^^^^ help: if this is intentional, prefix it with an underscore: _expr
optd-types/src/memo/mod.rs|55 col 9| warning: unused variable: rule
--> optd-types/src/memo/mod.rs:55:9
|
55 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: _rule
optd-types/src/memo/mod.rs|60 col 39| warning: unused variable: new_exprs
--> optd-types/src/memo/mod.rs:60:39
|
60 | pub fn add_expressions(&mut self, new_exprs: Vec) {
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: _new_exprs
optd-types/src/memo/relation/logical.rs|5 col 10| warning: type memo::relation::logical::Scan
is more private than the item memo::relation::logical::LogicalOperator::Scan::0
--> optd-types/src/memo/relation/logical.rs:5:10
|
5 | Scan(Scan),
| ^^^^ field memo::relation::logical::LogicalOperator::Scan::0
is reachable at visibility pub
|
note: but type memo::relation::logical::Scan
is only usable at visibility pub(self)
--> optd-types/src/memo/relation/logical.rs:11:1
|
11 | struct Scan {
| ^^^^^^^^^^^
= note: #[warn(private_interfaces)]
on by default
optd-types/src/memo/relation/logical.rs|6 col 12| warning: type memo::relation::logical::Filter
is more private than the item memo::relation::logical::LogicalOperator::Filter::0
--> optd-types/src/memo/relation/logical.rs:6:12
|
6 | Filter(Filter),
| ^^^^^^ field memo::relation::logical::LogicalOperator::Filter::0
is reachable at visibility pub
|
note: but type memo::relation::logical::Filter
is only usable at visibility pub(self)
--> optd-types/src/memo/relation/logical.rs:15:1
|
15 | struct Filter {
| ^^^^^^^^^^^^^
optd-types/src/memo/relation/logical.rs|7 col 10| warning: type memo::relation::logical::Join
is more private than the item memo::relation::logical::LogicalOperator::Join::0
--> optd-types/src/memo/relation/logical.rs:7:10
|
7 | Join(Join),
| ^^^^ field memo::relation::logical::LogicalOperator::Join::0
is reachable at visibility pub
|
note: but type memo::relation::logical::Join
is only usable at visibility pub(self)
--> optd-types/src/memo/relation/logical.rs:20:1
|
20 | struct Join {
| ^^^^^^^^^^^
optd-types/src/memo/relation/logical.rs|8 col 10| warning: type memo::relation::logical::Sort
is more private than the item memo::relation::logical::LogicalOperator::Sort::0
--> optd-types/src/memo/relation/logical.rs:8:10
|
8 | Sort(Sort),
| ^^^^ field memo::relation::logical::LogicalOperator::Sort::0
is reachable at visibility pub
|
note: but type memo::relation::logical::Sort
is only usable at visibility pub(self)
--> optd-types/src/memo/relation/logical.rs:26:1
|
26 | struct Sort {
| ^^^^^^^^^^^
optd-types/src/memo/relation/physical.rs|5 col 15| warning: type memo::relation::physical::TableScan
is more private than the item memo::relation::physical::PhysicalOperator::TableScan::0
--> optd-types/src/memo/relation/physical.rs:5:15
|
5 | TableScan(TableScan),
| ^^^^^^^^^ field memo::relation::physical::PhysicalOperator::TableScan::0
is reachable at visibility pub
|
note: but type memo::relation::physical::TableScan
is only usable at visibility pub(self)
--> optd-types/src/memo/relation/physical.rs:12:1
|
12 | struct TableScan {
| ^^^^^^^^^^^^^^^^
optd-types/src/memo/relation/physical.rs|6 col 20| warning: type memo::relation::physical::PhysicalFilter
is more private than the item memo::relation::physical::PhysicalOperator::PhysicalFilter::0
--> optd-types/src/memo/relation/physical.rs:6:20
|
6 | PhysicalFilter(PhysicalFilter),
| ^^^^^^^^^^^^^^ field memo::relation::physical::PhysicalOperator::PhysicalFilter::0
is reachable at visibility pub
|
note: but type memo::relation::physical::PhysicalFilter
is only usable at visibility pub(self)
--> optd-types/src/memo/relation/physical.rs:16:1
|
16 | struct PhysicalFilter {
| ^^^^^^^^^^^^^^^^^^^^^
optd-types/src/memo/relation/physical.rs|7 col 19| warning: type memo::relation::physical::SortMergeJoin
is more private than the item memo::relation::physical::PhysicalOperator::SortMergeJoin::0
--> optd-types/src/memo/relation/physical.rs:7:19
|
7 | SortMergeJoin(SortMergeJoin),
| ^^^^^^^^^^^^^ field memo::relation::physical::PhysicalOperator::SortMergeJoin::0
is reachable at visibility pub
|
note: but type memo::relation::physical::SortMergeJoin
is only usable at visibility pub(self)
--> optd-types/src/memo/relation/physical.rs:21:1
|
21 | struct SortMergeJoin {
| ^^^^^^^^^^^^^^^^^^^^
optd-types/src/memo/relation/physical.rs|8 col 14| warning: type memo::relation::physical::HashJoin
is more private than the item memo::relation::physical::PhysicalOperator::HashJoin::0
--> optd-types/src/memo/relation/physical.rs:8:14
|
8 | HashJoin(HashJoin),
| ^^^^^^^^ field memo::relation::physical::PhysicalOperator::HashJoin::0
is reachable at visibility pub
|
note: but type memo::relation::physical::HashJoin
is only usable at visibility pub(self)
--> optd-types/src/memo/relation/physical.rs:28:1
|
28 | struct HashJoin {
| ^^^^^^^^^^^^^^^
optd-types/src/memo/relation/physical.rs|9 col 15| warning: type memo::relation::physical::MergeSort
is more private than the item memo::relation::physical::PhysicalOperator::MergeSort::0
--> optd-types/src/memo/relation/physical.rs:9:15
|
9 | MergeSort(MergeSort),
| ^^^^^^^^^ field memo::relation::physical::PhysicalOperator::MergeSort::0
is reachable at visibility pub
|
note: but type memo::relation::physical::MergeSort
is only usable at visibility pub(self)
--> optd-types/src/memo/relation/physical.rs:34:1
|
34 | struct MergeSort {
| ^^^^^^^^^^^^^^^^
optd-types/src/lib.rs|12 col 12| warning: field 0
is never read
--> optd-types/src/lib.rs:12:20
|
12 | pub struct GroupId(usize);
| ------- ^^^^^
| |
| field in this struct
|
= help: consider removing this field
= note: #[warn(dead_code)]
on by default
optd-types/src/memo/mod.rs|14 col 12| warning: struct Memo
is never constructed
--> optd-types/src/memo/mod.rs:14:12
|
14 | pub struct Memo;
| ^^^^
optd-types/src/memo/mod.rs|16 col 1| warning: methods check_transformation
, check_implementation
, apply_transformation
, apply_implementation
, and add_expressions
are never used
--> optd-types/src/memo/mod.rs:28:18
|
16 | impl Memo {
| --------- methods in this implementation
...
28 | pub async fn check_transformation(
| ^^^^^^^^^^^^^^^^^^^^
...
36 | pub async fn check_implementation(
| ^^^^^^^^^^^^^^^^^^^^
...
44 | pub fn apply_transformation(
| ^^^^^^^^^^^^^^^^^^^^
...
52 | pub fn apply_implementation(
| ^^^^^^^^^^^^^^^^^^^^
...
60 | pub fn add_expressions(&mut self, new_exprs: Vec) {
| ^^^^^^^^^^^^^^^
optd-types/src/memo/relation/logical.rs|11 col 8| warning: field table_name
is never read
--> optd-types/src/memo/relation/logical.rs:12:5
|
11 | struct Scan {
| ---- field in this struct
12 | table_name: String,
| ^^^^^^^^^^
optd-types/src/memo/relation/logical.rs|15 col 8| warning: fields child
and predicate
are never read
--> optd-types/src/memo/relation/logical.rs:16:5
|
15 | struct Filter {
| ------ fields in this struct
16 | child: GroupId,
| ^^^^^
17 | predicate: GroupId,
| ^^^^^^^^^
optd-types/src/memo/relation/logical.rs|20 col 8| warning: fields left
, right
, and condition
are never read
--> optd-types/src/memo/relation/logical.rs:21:5
|
20 | struct Join {
| ---- fields in this struct
21 | left: GroupId,
| ^^^^
22 | right: GroupId,
| ^^^^^
23 | condition: GroupId,
| ^^^^^^^^^
optd-types/src/memo/relation/logical.rs|26 col 8| warning: fields child
and sort_expr
are never read
--> optd-types/src/memo/relation/logical.rs:27:5
|
26 | struct Sort {
| ---- fields in this struct
27 | child: GroupId,
| ^^^^^
28 | sort_expr: GroupId,
| ^^^^^^^^^
optd-types/src/memo/relation/physical.rs|12 col 8| warning: field table_name
is never read
--> optd-types/src/memo/relation/physical.rs:13:5
|
12 | struct TableScan {
| --------- field in this struct
13 | table_name: String,
| ^^^^^^^^^^
optd-types/src/memo/relation/physical.rs|16 col 8| warning: fields child
and predicate
are never read
--> optd-types/src/memo/relation/physical.rs:17:5
|
16 | struct PhysicalFilter {
| -------------- fields in this struct
17 | child: GroupId,
| ^^^^^
18 | predicate: GroupId,
| ^^^^^^^^^
optd-types/src/memo/relation/physical.rs|21 col 8| warning: fields left
, right
, condition
, and sort_expr
are never read
--> optd-types/src/memo/relation/physical.rs:22:5
|
21 | struct SortMergeJoin {
| ------------- fields in this struct
22 | left: GroupId,
| ^^^^
23 | right: GroupId,
| ^^^^^
24 | condition: GroupId,
| ^^^^^^^^^
25 | sort_expr: GroupId,
| ^^^^^^^^^
optd-types/src/memo/relation/physical.rs|28 col 8| warning: fields left
, right
, and condition
are never read
--> optd-types/src/memo/relation/physical.rs:29:5
|
28 | struct HashJoin {
| -------- fields in this struct
29 | left: GroupId,
| ^^^^
30 | right: GroupId,
| ^^^^^
31 | condition: GroupId,
| ^^^^^^^^^
optd-types/src/memo/relation/physical.rs|34 col 8| warning: fields child
and sort_expr
are never read
--> optd-types/src/memo/relation/physical.rs:35:5
|
34 | struct MergeSort {
| --------- fields in this struct
35 | child: GroupId,
| ^^^^^
36 | sort_expr: GroupId,
| ^^^^^^^^^
Filtered Findings (0)
Annotations
Check warning on line 30 in optd-types/src/memo/mod.rs
github-actions / clippy
[clippy] optd-types/src/memo/mod.rs#L30
warning: unused variable: `expr`
--> optd-types/src/memo/mod.rs:30:9
|
30 | expr: LogicalOperator,
| ^^^^ 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:30:9:w:warning: unused variable: `expr`
--> optd-types/src/memo/mod.rs:30:9
|
30 | expr: LogicalOperator,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
|
= note: `#[warn(unused_variables)]` on by default
__END__
Check warning on line 31 in optd-types/src/memo/mod.rs
github-actions / clippy
[clippy] optd-types/src/memo/mod.rs#L31
warning: unused variable: `rule`
--> optd-types/src/memo/mod.rs:31:9
|
31 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
Raw output
optd-types/src/memo/mod.rs:31:9:w:warning: unused variable: `rule`
--> optd-types/src/memo/mod.rs:31:9
|
31 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
__END__
Check warning on line 38 in optd-types/src/memo/mod.rs
github-actions / clippy
[clippy] optd-types/src/memo/mod.rs#L38
warning: unused variable: `expr`
--> optd-types/src/memo/mod.rs:38:9
|
38 | expr: LogicalOperator,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
Raw output
optd-types/src/memo/mod.rs:38:9:w:warning: unused variable: `expr`
--> optd-types/src/memo/mod.rs:38:9
|
38 | expr: LogicalOperator,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
__END__
Check warning on line 39 in optd-types/src/memo/mod.rs
github-actions / clippy
[clippy] optd-types/src/memo/mod.rs#L39
warning: unused variable: `rule`
--> optd-types/src/memo/mod.rs:39:9
|
39 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
Raw output
optd-types/src/memo/mod.rs:39:9:w:warning: unused variable: `rule`
--> optd-types/src/memo/mod.rs:39:9
|
39 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
__END__
Check warning on line 46 in optd-types/src/memo/mod.rs
github-actions / clippy
[clippy] optd-types/src/memo/mod.rs#L46
warning: unused variable: `expr`
--> optd-types/src/memo/mod.rs:46:9
|
46 | expr: PartialLogicalExpression,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
Raw output
optd-types/src/memo/mod.rs:46:9:w:warning: unused variable: `expr`
--> optd-types/src/memo/mod.rs:46:9
|
46 | expr: PartialLogicalExpression,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
__END__
Check warning on line 47 in optd-types/src/memo/mod.rs
github-actions / clippy
[clippy] optd-types/src/memo/mod.rs#L47
warning: unused variable: `rule`
--> optd-types/src/memo/mod.rs:47:9
|
47 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
Raw output
optd-types/src/memo/mod.rs:47:9:w:warning: unused variable: `rule`
--> optd-types/src/memo/mod.rs:47:9
|
47 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
__END__
Check warning on line 54 in optd-types/src/memo/mod.rs
github-actions / clippy
[clippy] optd-types/src/memo/mod.rs#L54
warning: unused variable: `expr`
--> optd-types/src/memo/mod.rs:54:9
|
54 | expr: PartialPhysicalExpression,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
Raw output
optd-types/src/memo/mod.rs:54:9:w:warning: unused variable: `expr`
--> optd-types/src/memo/mod.rs:54:9
|
54 | expr: PartialPhysicalExpression,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_expr`
__END__
Check warning on line 55 in optd-types/src/memo/mod.rs
github-actions / clippy
[clippy] optd-types/src/memo/mod.rs#L55
warning: unused variable: `rule`
--> optd-types/src/memo/mod.rs:55:9
|
55 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
Raw output
optd-types/src/memo/mod.rs:55:9:w:warning: unused variable: `rule`
--> optd-types/src/memo/mod.rs:55:9
|
55 | rule: Rule,
| ^^^^ help: if this is intentional, prefix it with an underscore: `_rule`
__END__
Check warning on line 60 in optd-types/src/memo/mod.rs
github-actions / clippy
[clippy] optd-types/src/memo/mod.rs#L60
warning: unused variable: `new_exprs`
--> optd-types/src/memo/mod.rs:60:39
|
60 | pub fn add_expressions(&mut self, new_exprs: Vec<MemoOperator>) {
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_exprs`
Raw output
optd-types/src/memo/mod.rs:60:39:w:warning: unused variable: `new_exprs`
--> optd-types/src/memo/mod.rs:60:39
|
60 | pub fn add_expressions(&mut self, new_exprs: Vec<MemoOperator>) {
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_exprs`
__END__
Check warning on line 5 in optd-types/src/memo/relation/logical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/logical.rs#L5
warning: type `memo::relation::logical::Scan` is more private than the item `memo::relation::logical::LogicalOperator::Scan::0`
--> optd-types/src/memo/relation/logical.rs:5:10
|
5 | Scan(Scan),
| ^^^^ field `memo::relation::logical::LogicalOperator::Scan::0` is reachable at visibility `pub`
|
note: but type `memo::relation::logical::Scan` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/logical.rs:11:1
|
11 | struct Scan {
| ^^^^^^^^^^^
= note: `#[warn(private_interfaces)]` on by default
Raw output
optd-types/src/memo/relation/logical.rs:5:10:w:warning: type `memo::relation::logical::Scan` is more private than the item `memo::relation::logical::LogicalOperator::Scan::0`
--> optd-types/src/memo/relation/logical.rs:5:10
|
5 | Scan(Scan),
| ^^^^ field `memo::relation::logical::LogicalOperator::Scan::0` is reachable at visibility `pub`
|
note: but type `memo::relation::logical::Scan` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/logical.rs:11:1
|
11 | struct Scan {
| ^^^^^^^^^^^
= note: `#[warn(private_interfaces)]` on by default
__END__
Check warning on line 6 in optd-types/src/memo/relation/logical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/logical.rs#L6
warning: type `memo::relation::logical::Filter` is more private than the item `memo::relation::logical::LogicalOperator::Filter::0`
--> optd-types/src/memo/relation/logical.rs:6:12
|
6 | Filter(Filter),
| ^^^^^^ field `memo::relation::logical::LogicalOperator::Filter::0` is reachable at visibility `pub`
|
note: but type `memo::relation::logical::Filter` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/logical.rs:15:1
|
15 | struct Filter {
| ^^^^^^^^^^^^^
Raw output
optd-types/src/memo/relation/logical.rs:6:12:w:warning: type `memo::relation::logical::Filter` is more private than the item `memo::relation::logical::LogicalOperator::Filter::0`
--> optd-types/src/memo/relation/logical.rs:6:12
|
6 | Filter(Filter),
| ^^^^^^ field `memo::relation::logical::LogicalOperator::Filter::0` is reachable at visibility `pub`
|
note: but type `memo::relation::logical::Filter` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/logical.rs:15:1
|
15 | struct Filter {
| ^^^^^^^^^^^^^
__END__
Check warning on line 7 in optd-types/src/memo/relation/logical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/logical.rs#L7
warning: type `memo::relation::logical::Join` is more private than the item `memo::relation::logical::LogicalOperator::Join::0`
--> optd-types/src/memo/relation/logical.rs:7:10
|
7 | Join(Join),
| ^^^^ field `memo::relation::logical::LogicalOperator::Join::0` is reachable at visibility `pub`
|
note: but type `memo::relation::logical::Join` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/logical.rs:20:1
|
20 | struct Join {
| ^^^^^^^^^^^
Raw output
optd-types/src/memo/relation/logical.rs:7:10:w:warning: type `memo::relation::logical::Join` is more private than the item `memo::relation::logical::LogicalOperator::Join::0`
--> optd-types/src/memo/relation/logical.rs:7:10
|
7 | Join(Join),
| ^^^^ field `memo::relation::logical::LogicalOperator::Join::0` is reachable at visibility `pub`
|
note: but type `memo::relation::logical::Join` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/logical.rs:20:1
|
20 | struct Join {
| ^^^^^^^^^^^
__END__
Check warning on line 8 in optd-types/src/memo/relation/logical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/logical.rs#L8
warning: type `memo::relation::logical::Sort` is more private than the item `memo::relation::logical::LogicalOperator::Sort::0`
--> optd-types/src/memo/relation/logical.rs:8:10
|
8 | Sort(Sort),
| ^^^^ field `memo::relation::logical::LogicalOperator::Sort::0` is reachable at visibility `pub`
|
note: but type `memo::relation::logical::Sort` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/logical.rs:26:1
|
26 | struct Sort {
| ^^^^^^^^^^^
Raw output
optd-types/src/memo/relation/logical.rs:8:10:w:warning: type `memo::relation::logical::Sort` is more private than the item `memo::relation::logical::LogicalOperator::Sort::0`
--> optd-types/src/memo/relation/logical.rs:8:10
|
8 | Sort(Sort),
| ^^^^ field `memo::relation::logical::LogicalOperator::Sort::0` is reachable at visibility `pub`
|
note: but type `memo::relation::logical::Sort` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/logical.rs:26:1
|
26 | struct Sort {
| ^^^^^^^^^^^
__END__
Check warning on line 5 in optd-types/src/memo/relation/physical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/physical.rs#L5
warning: type `memo::relation::physical::TableScan` is more private than the item `memo::relation::physical::PhysicalOperator::TableScan::0`
--> optd-types/src/memo/relation/physical.rs:5:15
|
5 | TableScan(TableScan),
| ^^^^^^^^^ field `memo::relation::physical::PhysicalOperator::TableScan::0` is reachable at visibility `pub`
|
note: but type `memo::relation::physical::TableScan` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/physical.rs:12:1
|
12 | struct TableScan {
| ^^^^^^^^^^^^^^^^
Raw output
optd-types/src/memo/relation/physical.rs:5:15:w:warning: type `memo::relation::physical::TableScan` is more private than the item `memo::relation::physical::PhysicalOperator::TableScan::0`
--> optd-types/src/memo/relation/physical.rs:5:15
|
5 | TableScan(TableScan),
| ^^^^^^^^^ field `memo::relation::physical::PhysicalOperator::TableScan::0` is reachable at visibility `pub`
|
note: but type `memo::relation::physical::TableScan` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/physical.rs:12:1
|
12 | struct TableScan {
| ^^^^^^^^^^^^^^^^
__END__
Check warning on line 6 in optd-types/src/memo/relation/physical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/physical.rs#L6
warning: type `memo::relation::physical::PhysicalFilter` is more private than the item `memo::relation::physical::PhysicalOperator::PhysicalFilter::0`
--> optd-types/src/memo/relation/physical.rs:6:20
|
6 | PhysicalFilter(PhysicalFilter),
| ^^^^^^^^^^^^^^ field `memo::relation::physical::PhysicalOperator::PhysicalFilter::0` is reachable at visibility `pub`
|
note: but type `memo::relation::physical::PhysicalFilter` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/physical.rs:16:1
|
16 | struct PhysicalFilter {
| ^^^^^^^^^^^^^^^^^^^^^
Raw output
optd-types/src/memo/relation/physical.rs:6:20:w:warning: type `memo::relation::physical::PhysicalFilter` is more private than the item `memo::relation::physical::PhysicalOperator::PhysicalFilter::0`
--> optd-types/src/memo/relation/physical.rs:6:20
|
6 | PhysicalFilter(PhysicalFilter),
| ^^^^^^^^^^^^^^ field `memo::relation::physical::PhysicalOperator::PhysicalFilter::0` is reachable at visibility `pub`
|
note: but type `memo::relation::physical::PhysicalFilter` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/physical.rs:16:1
|
16 | struct PhysicalFilter {
| ^^^^^^^^^^^^^^^^^^^^^
__END__
Check warning on line 7 in optd-types/src/memo/relation/physical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/physical.rs#L7
warning: type `memo::relation::physical::SortMergeJoin` is more private than the item `memo::relation::physical::PhysicalOperator::SortMergeJoin::0`
--> optd-types/src/memo/relation/physical.rs:7:19
|
7 | SortMergeJoin(SortMergeJoin),
| ^^^^^^^^^^^^^ field `memo::relation::physical::PhysicalOperator::SortMergeJoin::0` is reachable at visibility `pub`
|
note: but type `memo::relation::physical::SortMergeJoin` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/physical.rs:21:1
|
21 | struct SortMergeJoin {
| ^^^^^^^^^^^^^^^^^^^^
Raw output
optd-types/src/memo/relation/physical.rs:7:19:w:warning: type `memo::relation::physical::SortMergeJoin` is more private than the item `memo::relation::physical::PhysicalOperator::SortMergeJoin::0`
--> optd-types/src/memo/relation/physical.rs:7:19
|
7 | SortMergeJoin(SortMergeJoin),
| ^^^^^^^^^^^^^ field `memo::relation::physical::PhysicalOperator::SortMergeJoin::0` is reachable at visibility `pub`
|
note: but type `memo::relation::physical::SortMergeJoin` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/physical.rs:21:1
|
21 | struct SortMergeJoin {
| ^^^^^^^^^^^^^^^^^^^^
__END__
Check warning on line 8 in optd-types/src/memo/relation/physical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/physical.rs#L8
warning: type `memo::relation::physical::HashJoin` is more private than the item `memo::relation::physical::PhysicalOperator::HashJoin::0`
--> optd-types/src/memo/relation/physical.rs:8:14
|
8 | HashJoin(HashJoin),
| ^^^^^^^^ field `memo::relation::physical::PhysicalOperator::HashJoin::0` is reachable at visibility `pub`
|
note: but type `memo::relation::physical::HashJoin` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/physical.rs:28:1
|
28 | struct HashJoin {
| ^^^^^^^^^^^^^^^
Raw output
optd-types/src/memo/relation/physical.rs:8:14:w:warning: type `memo::relation::physical::HashJoin` is more private than the item `memo::relation::physical::PhysicalOperator::HashJoin::0`
--> optd-types/src/memo/relation/physical.rs:8:14
|
8 | HashJoin(HashJoin),
| ^^^^^^^^ field `memo::relation::physical::PhysicalOperator::HashJoin::0` is reachable at visibility `pub`
|
note: but type `memo::relation::physical::HashJoin` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/physical.rs:28:1
|
28 | struct HashJoin {
| ^^^^^^^^^^^^^^^
__END__
Check warning on line 9 in optd-types/src/memo/relation/physical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/physical.rs#L9
warning: type `memo::relation::physical::MergeSort` is more private than the item `memo::relation::physical::PhysicalOperator::MergeSort::0`
--> optd-types/src/memo/relation/physical.rs:9:15
|
9 | MergeSort(MergeSort),
| ^^^^^^^^^ field `memo::relation::physical::PhysicalOperator::MergeSort::0` is reachable at visibility `pub`
|
note: but type `memo::relation::physical::MergeSort` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/physical.rs:34:1
|
34 | struct MergeSort {
| ^^^^^^^^^^^^^^^^
Raw output
optd-types/src/memo/relation/physical.rs:9:15:w:warning: type `memo::relation::physical::MergeSort` is more private than the item `memo::relation::physical::PhysicalOperator::MergeSort::0`
--> optd-types/src/memo/relation/physical.rs:9:15
|
9 | MergeSort(MergeSort),
| ^^^^^^^^^ field `memo::relation::physical::PhysicalOperator::MergeSort::0` is reachable at visibility `pub`
|
note: but type `memo::relation::physical::MergeSort` is only usable at visibility `pub(self)`
--> optd-types/src/memo/relation/physical.rs:34:1
|
34 | struct MergeSort {
| ^^^^^^^^^^^^^^^^
__END__
Check warning on line 12 in optd-types/src/lib.rs
github-actions / clippy
[clippy] optd-types/src/lib.rs#L12
warning: field `0` is never read
--> optd-types/src/lib.rs:12:20
|
12 | 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:12:12:w:warning: field `0` is never read
--> optd-types/src/lib.rs:12:20
|
12 | pub struct GroupId(usize);
| ------- ^^^^^
| |
| field in this struct
|
= help: consider removing this field
= note: `#[warn(dead_code)]` on by default
__END__
Check warning on line 14 in optd-types/src/memo/mod.rs
github-actions / clippy
[clippy] optd-types/src/memo/mod.rs#L14
warning: struct `Memo` is never constructed
--> optd-types/src/memo/mod.rs:14:12
|
14 | pub struct Memo;
| ^^^^
Raw output
optd-types/src/memo/mod.rs:14:12:w:warning: struct `Memo` is never constructed
--> optd-types/src/memo/mod.rs:14:12
|
14 | pub struct Memo;
| ^^^^
__END__
Check warning on line 16 in optd-types/src/memo/mod.rs
github-actions / clippy
[clippy] optd-types/src/memo/mod.rs#L16
warning: methods `check_transformation`, `check_implementation`, `apply_transformation`, `apply_implementation`, and `add_expressions` are never used
--> optd-types/src/memo/mod.rs:28:18
|
16 | impl Memo {
| --------- methods in this implementation
...
28 | pub async fn check_transformation(
| ^^^^^^^^^^^^^^^^^^^^
...
36 | pub async fn check_implementation(
| ^^^^^^^^^^^^^^^^^^^^
...
44 | pub fn apply_transformation(
| ^^^^^^^^^^^^^^^^^^^^
...
52 | pub fn apply_implementation(
| ^^^^^^^^^^^^^^^^^^^^
...
60 | pub fn add_expressions(&mut self, new_exprs: Vec<MemoOperator>) {
| ^^^^^^^^^^^^^^^
Raw output
optd-types/src/memo/mod.rs:16:1:w:warning: methods `check_transformation`, `check_implementation`, `apply_transformation`, `apply_implementation`, and `add_expressions` are never used
--> optd-types/src/memo/mod.rs:28:18
|
16 | impl Memo {
| --------- methods in this implementation
...
28 | pub async fn check_transformation(
| ^^^^^^^^^^^^^^^^^^^^
...
36 | pub async fn check_implementation(
| ^^^^^^^^^^^^^^^^^^^^
...
44 | pub fn apply_transformation(
| ^^^^^^^^^^^^^^^^^^^^
...
52 | pub fn apply_implementation(
| ^^^^^^^^^^^^^^^^^^^^
...
60 | pub fn add_expressions(&mut self, new_exprs: Vec<MemoOperator>) {
| ^^^^^^^^^^^^^^^
__END__
Check warning on line 11 in optd-types/src/memo/relation/logical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/logical.rs#L11
warning: field `table_name` is never read
--> optd-types/src/memo/relation/logical.rs:12:5
|
11 | struct Scan {
| ---- field in this struct
12 | table_name: String,
| ^^^^^^^^^^
Raw output
optd-types/src/memo/relation/logical.rs:11:8:w:warning: field `table_name` is never read
--> optd-types/src/memo/relation/logical.rs:12:5
|
11 | struct Scan {
| ---- field in this struct
12 | table_name: String,
| ^^^^^^^^^^
__END__
Check warning on line 15 in optd-types/src/memo/relation/logical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/logical.rs#L15
warning: fields `child` and `predicate` are never read
--> optd-types/src/memo/relation/logical.rs:16:5
|
15 | struct Filter {
| ------ fields in this struct
16 | child: GroupId,
| ^^^^^
17 | predicate: GroupId,
| ^^^^^^^^^
Raw output
optd-types/src/memo/relation/logical.rs:15:8:w:warning: fields `child` and `predicate` are never read
--> optd-types/src/memo/relation/logical.rs:16:5
|
15 | struct Filter {
| ------ fields in this struct
16 | child: GroupId,
| ^^^^^
17 | predicate: GroupId,
| ^^^^^^^^^
__END__
Check warning on line 20 in optd-types/src/memo/relation/logical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/logical.rs#L20
warning: fields `left`, `right`, and `condition` are never read
--> optd-types/src/memo/relation/logical.rs:21:5
|
20 | struct Join {
| ---- fields in this struct
21 | left: GroupId,
| ^^^^
22 | right: GroupId,
| ^^^^^
23 | condition: GroupId,
| ^^^^^^^^^
Raw output
optd-types/src/memo/relation/logical.rs:20:8:w:warning: fields `left`, `right`, and `condition` are never read
--> optd-types/src/memo/relation/logical.rs:21:5
|
20 | struct Join {
| ---- fields in this struct
21 | left: GroupId,
| ^^^^
22 | right: GroupId,
| ^^^^^
23 | condition: GroupId,
| ^^^^^^^^^
__END__
Check warning on line 26 in optd-types/src/memo/relation/logical.rs
github-actions / clippy
[clippy] optd-types/src/memo/relation/logical.rs#L26
warning: fields `child` and `sort_expr` are never read
--> optd-types/src/memo/relation/logical.rs:27:5
|
26 | struct Sort {
| ---- fields in this struct
27 | child: GroupId,
| ^^^^^
28 | sort_expr: GroupId,
| ^^^^^^^^^
Raw output
optd-types/src/memo/relation/logical.rs:26:8:w:warning: fields `child` and `sort_expr` are never read
--> optd-types/src/memo/relation/logical.rs:27:5
|
26 | struct Sort {
| ---- fields in this struct
27 | child: GroupId,
| ^^^^^
28 | sort_expr: GroupId,
| ^^^^^^^^^
__END__