Modeling of types to represent query optimization with a persistent memo table #27
test.yml
on: pull_request
ubuntu / stable / minimal-versions
18s
Matrix: os-check
Matrix: required
Annotations
77 warnings
[clippy] optd-types/src/expression/mod.rs#L7:
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
|
[clippy] optd-types/src/memo/mod.rs#L28:
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
|
[clippy] optd-types/src/memo/mod.rs#L29:
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`
|
[clippy] optd-types/src/memo/mod.rs#L36:
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`
|
[clippy] optd-types/src/memo/mod.rs#L37:
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`
|
[clippy] optd-types/src/memo/mod.rs#L58:
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`
|
[clippy] optd-types/src/memo/mod.rs#L44:
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`
|
[clippy] optd-types/src/memo/mod.rs#L45:
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`
|
[clippy] optd-types/src/memo/mod.rs#L52:
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`
|
ubuntu / beta
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
[clippy] optd-types/src/memo/mod.rs#L53:
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`
|
[clippy] optd-types/src/expression/relation/logical.rs#L5:
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
|
[clippy] optd-types/src/expression/relation/logical.rs#L6:
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 {
| ^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L7:
optd-types/src/expression/relation/logical.rs#L7
warning: type `expression::relation::logical::Join` is more private than the item `expression::relation::logical::LogicalExpression::Join::0`
--> optd-types/src/expression/relation/logical.rs:7:10
|
7 | Join(Join),
| ^^^^ field `expression::relation::logical::LogicalExpression::Join::0` is reachable at visibility `pub(crate)`
|
note: but type `expression::relation::logical::Join` is only usable at visibility `pub(self)`
--> optd-types/src/expression/relation/logical.rs:20:1
|
20 | struct Join {
| ^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L8:
optd-types/src/expression/relation/logical.rs#L8
warning: type `expression::relation::logical::Sort` is more private than the item `expression::relation::logical::LogicalExpression::Sort::0`
--> optd-types/src/expression/relation/logical.rs:8:10
|
8 | Sort(Sort),
| ^^^^ field `expression::relation::logical::LogicalExpression::Sort::0` is reachable at visibility `pub(crate)`
|
note: but type `expression::relation::logical::Sort` is only usable at visibility `pub(self)`
--> optd-types/src/expression/relation/logical.rs:26:1
|
26 | struct Sort {
| ^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L5:
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 {
| ^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L6:
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 {
| ^^^^^^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L7:
optd-types/src/expression/relation/physical.rs#L7
warning: type `expression::relation::physical::SortMergeJoin` is more private than the item `expression::relation::physical::PhysicalExpression::SortMergeJoin::0`
--> optd-types/src/expression/relation/physical.rs:7:19
|
7 | SortMergeJoin(SortMergeJoin),
| ^^^^^^^^^^^^^ field `expression::relation::physical::PhysicalExpression::SortMergeJoin::0` is reachable at visibility `pub(crate)`
|
note: but type `expression::relation::physical::SortMergeJoin` is only usable at visibility `pub(self)`
--> optd-types/src/expression/relation/physical.rs:21:1
|
21 | struct SortMergeJoin {
| ^^^^^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L8:
optd-types/src/expression/relation/physical.rs#L8
warning: type `expression::relation::physical::HashJoin` is more private than the item `expression::relation::physical::PhysicalExpression::HashJoin::0`
--> optd-types/src/expression/relation/physical.rs:8:14
|
8 | HashJoin(HashJoin),
| ^^^^^^^^ field `expression::relation::physical::PhysicalExpression::HashJoin::0` is reachable at visibility `pub(crate)`
|
note: but type `expression::relation::physical::HashJoin` is only usable at visibility `pub(self)`
--> optd-types/src/expression/relation/physical.rs:28:1
|
28 | struct HashJoin {
| ^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L9:
optd-types/src/expression/relation/physical.rs#L9
warning: type `expression::relation::physical::MergeSort` is more private than the item `expression::relation::physical::PhysicalExpression::MergeSort::0`
--> optd-types/src/expression/relation/physical.rs:9:15
|
9 | MergeSort(MergeSort),
| ^^^^^^^^^ field `expression::relation::physical::PhysicalExpression::MergeSort::0` is reachable at visibility `pub(crate)`
|
note: but type `expression::relation::physical::MergeSort` is only usable at visibility `pub(self)`
--> optd-types/src/expression/relation/physical.rs:34:1
|
34 | struct MergeSort {
| ^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/lib.rs#L4:
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
|
[clippy] optd-types/src/expression/mod.rs#L10:
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 {
| ^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/mod.rs#L8:
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 {
| ^^^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L4:
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 {
| ^^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L11:
optd-types/src/expression/relation/logical.rs#L11
warning: struct `Scan` is never constructed
--> optd-types/src/expression/relation/logical.rs:11:8
|
11 | struct Scan {
| ^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L15:
optd-types/src/expression/relation/logical.rs#L15
warning: struct `Filter` is never constructed
--> optd-types/src/expression/relation/logical.rs:15:8
|
15 | struct Filter {
| ^^^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L20:
optd-types/src/expression/relation/logical.rs#L20
warning: struct `Join` is never constructed
--> optd-types/src/expression/relation/logical.rs:20:8
|
20 | struct Join {
| ^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L26:
optd-types/src/expression/relation/logical.rs#L26
warning: struct `Sort` is never constructed
--> optd-types/src/expression/relation/logical.rs:26:8
|
26 | struct Sort {
| ^^^^
|
[clippy] optd-types/src/expression/mod.rs#L7:
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
|
[clippy] optd-types/src/expression/relation/physical.rs#L4:
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 {
| ^^^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/memo/mod.rs#L28:
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
|
[clippy] optd-types/src/expression/relation/physical.rs#L12:
optd-types/src/expression/relation/physical.rs#L12
warning: struct `TableScan` is never constructed
--> optd-types/src/expression/relation/physical.rs:12:8
|
12 | struct TableScan {
| ^^^^^^^^^
|
[clippy] optd-types/src/memo/mod.rs#L29:
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`
|
[clippy] optd-types/src/expression/relation/physical.rs#L16:
optd-types/src/expression/relation/physical.rs#L16
warning: struct `PhysicalFilter` is never constructed
--> optd-types/src/expression/relation/physical.rs:16:8
|
16 | struct PhysicalFilter {
| ^^^^^^^^^^^^^^
|
[clippy] optd-types/src/memo/mod.rs#L36:
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`
|
[clippy] optd-types/src/expression/relation/physical.rs#L21:
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 {
| ^^^^^^^^^^^^^
|
[clippy] optd-types/src/memo/mod.rs#L37:
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`
|
[clippy] optd-types/src/expression/relation/physical.rs#L28:
optd-types/src/expression/relation/physical.rs#L28
warning: struct `HashJoin` is never constructed
--> optd-types/src/expression/relation/physical.rs:28:8
|
28 | struct HashJoin {
| ^^^^^^^^
|
[clippy] optd-types/src/memo/mod.rs#L58:
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`
|
[clippy] optd-types/src/expression/relation/physical.rs#L34:
optd-types/src/expression/relation/physical.rs#L34
warning: struct `MergeSort` is never constructed
--> optd-types/src/expression/relation/physical.rs:34:8
|
34 | struct MergeSort {
| ^^^^^^^^^
|
[clippy] optd-types/src/memo/mod.rs#L44:
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`
|
[clippy] optd-types/src/expression/scalar.rs#L4:
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;
| ^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/memo/mod.rs#L45:
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`
|
[clippy] optd-types/src/memo/mod.rs#L7:
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 {
| ^^^^
|
[clippy] optd-types/src/memo/mod.rs#L52:
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`
|
[clippy] optd-types/src/memo/mod.rs#L12:
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;
| ^^^^
|
[clippy] optd-types/src/memo/mod.rs#L53:
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`
|
[clippy] optd-types/src/memo/mod.rs#L14:
optd-types/src/memo/mod.rs#L14
warning: methods `check_transformation`, `check_implementation`, `apply_transformation`, `apply_implementation`, and `add_expressions` are never used
--> optd-types/src/memo/mod.rs:26:18
|
14 | impl Memo {
| --------- methods in this implementation
...
26 | pub async fn check_transformation(
| ^^^^^^^^^^^^^^^^^^^^
...
34 | pub async fn check_implementation(
| ^^^^^^^^^^^^^^^^^^^^
...
42 | pub fn apply_transformation(
| ^^^^^^^^^^^^^^^^^^^^
...
50 | pub fn apply_implementation(
| ^^^^^^^^^^^^^^^^^^^^
...
58 | pub async fn add_expressions(&mut self, new_exprs: Vec<Expression>) {
| ^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L5:
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
|
[clippy] optd-types/src/expression/relation/logical.rs#L6:
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 {
| ^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L7:
optd-types/src/expression/relation/logical.rs#L7
warning: type `expression::relation::logical::Join` is more private than the item `expression::relation::logical::LogicalExpression::Join::0`
--> optd-types/src/expression/relation/logical.rs:7:10
|
7 | Join(Join),
| ^^^^ field `expression::relation::logical::LogicalExpression::Join::0` is reachable at visibility `pub(crate)`
|
note: but type `expression::relation::logical::Join` is only usable at visibility `pub(self)`
--> optd-types/src/expression/relation/logical.rs:20:1
|
20 | struct Join {
| ^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L8:
optd-types/src/expression/relation/logical.rs#L8
warning: type `expression::relation::logical::Sort` is more private than the item `expression::relation::logical::LogicalExpression::Sort::0`
--> optd-types/src/expression/relation/logical.rs:8:10
|
8 | Sort(Sort),
| ^^^^ field `expression::relation::logical::LogicalExpression::Sort::0` is reachable at visibility `pub(crate)`
|
note: but type `expression::relation::logical::Sort` is only usable at visibility `pub(self)`
--> optd-types/src/expression/relation/logical.rs:26:1
|
26 | struct Sort {
| ^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L5:
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 {
| ^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L6:
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 {
| ^^^^^^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L7:
optd-types/src/expression/relation/physical.rs#L7
warning: type `expression::relation::physical::SortMergeJoin` is more private than the item `expression::relation::physical::PhysicalExpression::SortMergeJoin::0`
--> optd-types/src/expression/relation/physical.rs:7:19
|
7 | SortMergeJoin(SortMergeJoin),
| ^^^^^^^^^^^^^ field `expression::relation::physical::PhysicalExpression::SortMergeJoin::0` is reachable at visibility `pub(crate)`
|
note: but type `expression::relation::physical::SortMergeJoin` is only usable at visibility `pub(self)`
--> optd-types/src/expression/relation/physical.rs:21:1
|
21 | struct SortMergeJoin {
| ^^^^^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L8:
optd-types/src/expression/relation/physical.rs#L8
warning: type `expression::relation::physical::HashJoin` is more private than the item `expression::relation::physical::PhysicalExpression::HashJoin::0`
--> optd-types/src/expression/relation/physical.rs:8:14
|
8 | HashJoin(HashJoin),
| ^^^^^^^^ field `expression::relation::physical::PhysicalExpression::HashJoin::0` is reachable at visibility `pub(crate)`
|
note: but type `expression::relation::physical::HashJoin` is only usable at visibility `pub(self)`
--> optd-types/src/expression/relation/physical.rs:28:1
|
28 | struct HashJoin {
| ^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L9:
optd-types/src/expression/relation/physical.rs#L9
warning: type `expression::relation::physical::MergeSort` is more private than the item `expression::relation::physical::PhysicalExpression::MergeSort::0`
--> optd-types/src/expression/relation/physical.rs:9:15
|
9 | MergeSort(MergeSort),
| ^^^^^^^^^ field `expression::relation::physical::PhysicalExpression::MergeSort::0` is reachable at visibility `pub(crate)`
|
note: but type `expression::relation::physical::MergeSort` is only usable at visibility `pub(self)`
--> optd-types/src/expression/relation/physical.rs:34:1
|
34 | struct MergeSort {
| ^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/lib.rs#L4:
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
|
[clippy] optd-types/src/expression/mod.rs#L10:
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 {
| ^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/mod.rs#L8:
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 {
| ^^^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L4:
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 {
| ^^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L11:
optd-types/src/expression/relation/logical.rs#L11
warning: struct `Scan` is never constructed
--> optd-types/src/expression/relation/logical.rs:11:8
|
11 | struct Scan {
| ^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L15:
optd-types/src/expression/relation/logical.rs#L15
warning: struct `Filter` is never constructed
--> optd-types/src/expression/relation/logical.rs:15:8
|
15 | struct Filter {
| ^^^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L20:
optd-types/src/expression/relation/logical.rs#L20
warning: struct `Join` is never constructed
--> optd-types/src/expression/relation/logical.rs:20:8
|
20 | struct Join {
| ^^^^
|
[clippy] optd-types/src/expression/relation/logical.rs#L26:
optd-types/src/expression/relation/logical.rs#L26
warning: struct `Sort` is never constructed
--> optd-types/src/expression/relation/logical.rs:26:8
|
26 | struct Sort {
| ^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L4:
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 {
| ^^^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L12:
optd-types/src/expression/relation/physical.rs#L12
warning: struct `TableScan` is never constructed
--> optd-types/src/expression/relation/physical.rs:12:8
|
12 | struct TableScan {
| ^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L16:
optd-types/src/expression/relation/physical.rs#L16
warning: struct `PhysicalFilter` is never constructed
--> optd-types/src/expression/relation/physical.rs:16:8
|
16 | struct PhysicalFilter {
| ^^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L21:
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 {
| ^^^^^^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L28:
optd-types/src/expression/relation/physical.rs#L28
warning: struct `HashJoin` is never constructed
--> optd-types/src/expression/relation/physical.rs:28:8
|
28 | struct HashJoin {
| ^^^^^^^^
|
[clippy] optd-types/src/expression/relation/physical.rs#L34:
optd-types/src/expression/relation/physical.rs#L34
warning: struct `MergeSort` is never constructed
--> optd-types/src/expression/relation/physical.rs:34:8
|
34 | struct MergeSort {
| ^^^^^^^^^
|
[clippy] optd-types/src/expression/scalar.rs#L4:
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;
| ^^^^^^^^^^^^^^^^
|
[clippy] optd-types/src/memo/mod.rs#L7:
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 {
| ^^^^
|
[clippy] optd-types/src/memo/mod.rs#L12:
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;
| ^^^^
|
[clippy] optd-types/src/memo/mod.rs#L14:
optd-types/src/memo/mod.rs#L14
warning: methods `check_transformation`, `check_implementation`, `apply_transformation`, `apply_implementation`, and `add_expressions` are never used
--> optd-types/src/memo/mod.rs:26:18
|
14 | impl Memo {
| --------- methods in this implementation
...
26 | pub async fn check_transformation(
| ^^^^^^^^^^^^^^^^^^^^
...
34 | pub async fn check_implementation(
| ^^^^^^^^^^^^^^^^^^^^
...
42 | pub fn apply_transformation(
| ^^^^^^^^^^^^^^^^^^^^
...
50 | pub fn apply_implementation(
| ^^^^^^^^^^^^^^^^^^^^
...
58 | pub async fn add_expressions(&mut self, new_exprs: Vec<Expression>) {
| ^^^^^^^^^^^^^^^
|
ubuntu / stable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ubuntu / stable / minimal-versions
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|