WIP Built some initial e2e datafusion infrastructure #68
check.yml
on: pull_request
stable / fmt
4s
nightly / doc
15s
ubuntu / stable / features
1m 20s
Matrix: clippy
Matrix: msrv
Annotations
18 errors and 46 warnings
[clippy] infra/src/lib.rs#L41:
infra/src/lib.rs#L41
error[E0432]: unresolved import `types::plan::partial_physical_plan`
--> infra/src/lib.rs:41:18
|
41 | use types::plan::partial_physical_plan::PhysicalLink;
| ^^^^^^^^^^^^^^^^^^^^^ could not find `partial_physical_plan` in `plan`
|
[clippy] infra/src/lib.rs#L39:
infra/src/lib.rs#L39
error[E0432]: unresolved import `types::operator::ScalarOperator`
--> infra/src/lib.rs:39:5
|
39 | use types::operator::ScalarOperator;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ScalarOperator` in `types::operator`
|
[clippy] infra/src/lib.rs#L40:
infra/src/lib.rs#L40
error[E0432]: unresolved import `types::plan::logical_plan::ScalarLink`
--> infra/src/lib.rs:40:78
|
40 | use types::plan::logical_plan::{LogicalLink, LogicalPlan as OptDLogicalPlan, ScalarLink};
| ^^^^^^^^^^ no `ScalarLink` in `types::plan::logical_plan`
|
[clippy] infra/src/lib.rs#L52:
infra/src/lib.rs#L52
error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied
--> infra/src/lib.rs:52:54
|
52 | Arc::new(PhysicalOperator::TableScan(TableScanOperator::<
| ______________________________________________________^^^^^^^^^^^^^^^^^-
| | |
| | expected 0 generic arguments
53 | | PhysicalLink,
54 | | > {
| |_________________- help: remove the unnecessary generics
|
note: struct defined here, with 0 generic parameters
--> infra/src/types/operator/physical.rs:28:12
|
28 | pub struct TableScanOperator {
| ^^^^^^^^^^^^^^^^^
|
[clippy] infra/src/lib.rs#L64:
infra/src/lib.rs#L64
error[E0599]: no variant or associated item named `ScalarNode` found for enum `types::plan::logical_plan::LogicalLink` in the current scope
--> infra/src/lib.rs:64:34
|
64 | let LogicalLink::ScalarNode(ref predicate) = logical_filter_operator.predicate
| ^^^^^^^^^^ variant or associated item not found in `LogicalLink`
|
::: infra/src/types/plan/logical_plan.rs:31:1
|
31 | pub enum LogicalLink {
| -------------------- variant or associated item `ScalarNode` not found for this enum
|
[clippy] infra/src/lib.rs#L86:
infra/src/lib.rs#L86
error[E0599]: no variant or associated item named `ScalarNode` found for enum `types::plan::logical_plan::LogicalLink` in the current scope
--> infra/src/lib.rs:86:34
|
86 | let LogicalLink::ScalarNode(ref condition) = logical_join_operator.condition else {
| ^^^^^^^^^^ variant or associated item not found in `LogicalLink`
|
::: infra/src/types/plan/logical_plan.rs:31:1
|
31 | pub enum LogicalLink {
| -------------------- variant or associated item `ScalarNode` not found for this enum
|
[clippy] infra/src/lib.rs#L125:
infra/src/lib.rs#L125
error[E0599]: no variant or associated item named `ScalarNode` found for enum `types::plan::logical_plan::LogicalLink` in the current scope
--> infra/src/lib.rs:125:45
|
125 | predicate: LogicalLink::ScalarNode(Self::convert_into_optd_scalar(
| ^^^^^^^^^^ variant or associated item not found in `LogicalLink`
|
::: infra/src/types/plan/logical_plan.rs:31:1
|
31 | pub enum LogicalLink {
| -------------------- variant or associated item `ScalarNode` not found for this enum
|
[clippy] infra/src/lib.rs#L136:
infra/src/lib.rs#L136
error[E0599]: no variant or associated item named `ScalarNode` found for enum `types::plan::logical_plan::LogicalLink` in the current scope
--> infra/src/lib.rs:136:45
|
136 | condition: LogicalLink::ScalarNode(Arc::new(todo!())),
| ^^^^^^^^^^ variant or associated item not found in `LogicalLink`
|
::: infra/src/types/plan/logical_plan.rs:31:1
|
31 | pub enum LogicalLink {
| -------------------- variant or associated item `ScalarNode` not found for this enum
|
ubuntu / stable / features
Process completed with exit code 1.
|
[clippy] infra/src/lib.rs#L41:
infra/src/lib.rs#L41
error[E0432]: unresolved import `types::plan::partial_physical_plan`
--> infra/src/lib.rs:41:18
|
41 | use types::plan::partial_physical_plan::PhysicalLink;
| ^^^^^^^^^^^^^^^^^^^^^ could not find `partial_physical_plan` in `plan`
|
[clippy] infra/src/lib.rs#L39:
infra/src/lib.rs#L39
error[E0432]: unresolved import `types::operator::ScalarOperator`
--> infra/src/lib.rs:39:5
|
39 | use types::operator::ScalarOperator;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ScalarOperator` in `types::operator`
|
[clippy] infra/src/lib.rs#L40:
infra/src/lib.rs#L40
error[E0432]: unresolved import `types::plan::logical_plan::ScalarLink`
--> infra/src/lib.rs:40:78
|
40 | use types::plan::logical_plan::{LogicalLink, LogicalPlan as OptDLogicalPlan, ScalarLink};
| ^^^^^^^^^^ no `ScalarLink` in `types::plan::logical_plan`
|
[clippy] infra/src/lib.rs#L52:
infra/src/lib.rs#L52
error[E0107]: struct takes 0 generic arguments but 1 generic argument was supplied
--> infra/src/lib.rs:52:54
|
52 | Arc::new(PhysicalOperator::TableScan(TableScanOperator::<
| ______________________________________________________^^^^^^^^^^^^^^^^^-
| | |
| | expected 0 generic arguments
53 | | PhysicalLink,
54 | | > {
| |_________________- help: remove the unnecessary generics
|
note: struct defined here, with 0 generic parameters
--> infra/src/types/operator/physical.rs:28:12
|
28 | pub struct TableScanOperator {
| ^^^^^^^^^^^^^^^^^
|
[clippy] infra/src/lib.rs#L64:
infra/src/lib.rs#L64
error[E0599]: no variant or associated item named `ScalarNode` found for enum `types::plan::logical_plan::LogicalLink` in the current scope
--> infra/src/lib.rs:64:34
|
64 | let LogicalLink::ScalarNode(ref predicate) = logical_filter_operator.predicate
| ^^^^^^^^^^ variant or associated item not found in `LogicalLink`
|
::: infra/src/types/plan/logical_plan.rs:31:1
|
31 | pub enum LogicalLink {
| -------------------- variant or associated item `ScalarNode` not found for this enum
|
[clippy] infra/src/lib.rs#L86:
infra/src/lib.rs#L86
error[E0599]: no variant or associated item named `ScalarNode` found for enum `types::plan::logical_plan::LogicalLink` in the current scope
--> infra/src/lib.rs:86:34
|
86 | let LogicalLink::ScalarNode(ref condition) = logical_join_operator.condition else {
| ^^^^^^^^^^ variant or associated item not found in `LogicalLink`
|
::: infra/src/types/plan/logical_plan.rs:31:1
|
31 | pub enum LogicalLink {
| -------------------- variant or associated item `ScalarNode` not found for this enum
|
[clippy] infra/src/lib.rs#L125:
infra/src/lib.rs#L125
error[E0599]: no variant or associated item named `ScalarNode` found for enum `types::plan::logical_plan::LogicalLink` in the current scope
--> infra/src/lib.rs:125:45
|
125 | predicate: LogicalLink::ScalarNode(Self::convert_into_optd_scalar(
| ^^^^^^^^^^ variant or associated item not found in `LogicalLink`
|
::: infra/src/types/plan/logical_plan.rs:31:1
|
31 | pub enum LogicalLink {
| -------------------- variant or associated item `ScalarNode` not found for this enum
|
[clippy] infra/src/lib.rs#L136:
infra/src/lib.rs#L136
error[E0599]: no variant or associated item named `ScalarNode` found for enum `types::plan::logical_plan::LogicalLink` in the current scope
--> infra/src/lib.rs:136:45
|
136 | condition: LogicalLink::ScalarNode(Arc::new(todo!())),
| ^^^^^^^^^^ variant or associated item not found in `LogicalLink`
|
::: infra/src/types/plan/logical_plan.rs:31:1
|
31 | pub enum LogicalLink {
| -------------------- variant or associated item `ScalarNode` not found for this enum
|
ubuntu / 1.56.1
Process completed with exit code 101.
|
[clippy] infra/src/lib.rs#L9:
infra/src/lib.rs#L9
warning: unused import: `std::collections::HashMap`
--> infra/src/lib.rs:9:5
|
9 | use std::collections::HashMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
[clippy] infra/src/lib.rs#L10:
infra/src/lib.rs#L10
warning: unused import: `Mutex`
--> infra/src/lib.rs:10:22
|
10 | use std::sync::{Arc, Mutex};
| ^^^^^
|
[clippy] infra/src/lib.rs#L18:
infra/src/lib.rs#L18
warning: unused imports: `Explain`, `PlanType`, `TableSource`, and `ToStringifiedPlan`
--> infra/src/lib.rs:18:32
|
18 | use datafusion::logical_expr::{Explain, LogicalPlan, PlanType, TableSource, ToStringifiedPlan};
| ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
|
[clippy] infra/src/lib.rs#L21:
infra/src/lib.rs#L21
warning: unused import: `log`
--> infra/src/lib.rs:21:27
|
21 | use datafusion::prelude::{log, Expr, SessionConfig, SessionContext};
| ^^^
|
[clippy] infra/src/lib.rs#L132:
infra/src/lib.rs#L132
warning: consider removing unnecessary double parentheses
--> infra/src/lib.rs:132:17
|
132 | / (LogicalJoinOperator {
133 | | join_type: (),
134 | | left: LogicalLink::LogicalNode(Self::convert_into_optd_logical(&join.left)),
135 | | right: LogicalLink::LogicalNode(Self::convert_into_optd_logical(&join.right)),
136 | | condition: LogicalLink::ScalarNode(Arc::new(todo!())),
137 | | }),
| |__________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
= note: `#[warn(clippy::double_parens)]` on by default
|
[clippy] infra/src/lib.rs#L132:
infra/src/lib.rs#L132
warning: unnecessary parentheses around function argument
--> infra/src/lib.rs:132:17
|
132 | (LogicalJoinOperator {
| ^
...
137 | }),
| ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
132 ~ LogicalJoinOperator {
133 | join_type: (),
...
136 | condition: LogicalLink::ScalarNode(Arc::new(todo!())),
137 ~ },
|
|
[clippy] infra/src/lib.rs#L141:
infra/src/lib.rs#L141
warning: consider removing unnecessary double parentheses
--> infra/src/lib.rs:141:17
|
141 | / (LogicalScanOperator {
142 | | table_name: table_scan.table_name.to_quoted_string(),
143 | | predicate: None, // TODO fix this: there are multiple predicates in the scan but our IR only accepts one
144 | | }),
| |__________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
|
[clippy] infra/src/lib.rs#L141:
infra/src/lib.rs#L141
warning: unnecessary parentheses around function argument
--> infra/src/lib.rs:141:17
|
141 | (LogicalScanOperator {
| ^
...
144 | }),
| ^
|
help: remove these parentheses
|
141 ~ LogicalScanOperator {
142 | table_name: table_scan.table_name.to_quoted_string(),
143 | predicate: None, // TODO fix this: there are multiple predicates in the scan but our IR only accepts one
144 ~ },
|
|
[clippy] infra/src/lib.rs#L16:
infra/src/lib.rs#L16
warning: use of deprecated type alias `datafusion::execution::runtime_env::RuntimeConfig`: please use `RuntimeEnvBuilder` instead
--> infra/src/lib.rs:16:41
|
16 | use datafusion::execution::runtime_env::RuntimeConfig;
| ^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
[clippy] infra/src/lib.rs#L214:
infra/src/lib.rs#L214
warning: use of deprecated type alias `datafusion::execution::runtime_env::RuntimeConfig`: please use `RuntimeEnvBuilder` instead
--> infra/src/lib.rs:214:23
|
214 | rn_config: Option<RuntimeConfig>,
| ^^^^^^^^^^^^^
|
[clippy] infra/src/lib.rs#L229:
infra/src/lib.rs#L229
warning: use of deprecated type alias `datafusion::execution::runtime_env::RuntimeConfig`: please use `RuntimeEnvBuilder` instead
--> infra/src/lib.rs:229:9
|
229 | RuntimeConfig::new()
| ^^^^^^^^^^^^^
|
[clippy] infra/src/lib.rs#L173:
infra/src/lib.rs#L173
warning: unused variable: `optdLogicalPlan`
--> infra/src/lib.rs:173:13
|
173 | let optdLogicalPlan = Self::get_optd_logical_plan(logical_plan);
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optdLogicalPlan`
|
= note: `#[warn(unused_variables)]` on by default
|
[clippy] infra/src/lib.rs#L174:
infra/src/lib.rs#L174
warning: unused variable: `optimizer`
--> infra/src/lib.rs:174:17
|
174 | let mut optimizer = self.optimizer.clone();
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optimizer`
|
[clippy] infra/src/lib.rs#L174:
infra/src/lib.rs#L174
warning: variable does not need to be mutable
--> infra/src/lib.rs:174:13
|
174 | let mut optimizer = self.optimizer.clone();
| ----^^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
[clippy] infra/src/types/memo.rs#L7:
infra/src/types/memo.rs#L7
warning: unused variable: `logical_expr`
--> infra/src/types/memo.rs:7:38
|
7 | pub async fn add_expr(&mut self, logical_expr: Expr) -> (ExprId, GroupId) {
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_expr`
|
[clippy] infra/src/types/memo.rs#L11:
infra/src/types/memo.rs#L11
warning: unused variable: `logical_expr`
--> infra/src/types/memo.rs:11:47
|
11 | pub async fn add_expr_to_group(&mut self, logical_expr: Expr, group_id: GroupId) -> ExprId {
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_expr`
|
[clippy] infra/src/types/memo.rs#L11:
infra/src/types/memo.rs#L11
warning: unused variable: `group_id`
--> infra/src/types/memo.rs:11:67
|
11 | pub async fn add_expr_to_group(&mut self, logical_expr: Expr, group_id: GroupId) -> ExprId {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id`
|
[clippy] infra/src/types/memo.rs#L15:
infra/src/types/memo.rs#L15
warning: unused variable: `group_id`
--> infra/src/types/memo.rs:15:45
|
15 | pub async fn get_group_exprs(&mut self, group_id: GroupId) -> Vec<(ExprId, Expr)> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id`
|
[clippy] infra/src/types/memo.rs#L19:
infra/src/types/memo.rs#L19
warning: unused variable: `logical_expr_id`
--> infra/src/types/memo.rs:19:44
|
19 | pub async fn get_expr_group(&mut self, logical_expr_id: ExprId) -> GroupId {
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_expr_id`
|
[clippy] infra/src/lib.rs#L74:
infra/src/lib.rs#L74
warning: unreachable call
--> infra/src/lib.rs:74:32
|
74 | predicate: PhysicalLink::ScalarNode(todo!()),
| ^^^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable
| |
| unreachable call
|
= note: `#[warn(unreachable_code)]` on by default
|
[clippy] infra/src/lib.rs#L99:
infra/src/lib.rs#L99
warning: unreachable call
--> infra/src/lib.rs:99:36
|
99 | condition: PhysicalLink::ScalarNode(todo!()),
| ^^^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable
| |
| unreachable call
|
[clippy] infra/src/lib.rs#L136:
infra/src/lib.rs#L136
warning: unreachable call
--> infra/src/lib.rs:136:56
|
136 | condition: LogicalLink::ScalarNode(Arc::new(todo!())),
| ^^^^^^^^ ------- any code following this expression is unreachable
| |
| unreachable call
|
[clippy] infra/src/lib.rs#L105:
infra/src/lib.rs#L105
warning: unused variable: `logical_plan`
--> infra/src/lib.rs:105:26
|
105 | pub fn mock_optimize(logical_plan: OptDLogicalPlan) -> PhysicalPlan {
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_plan`
|
[clippy] infra/src/lib.rs#L9:
infra/src/lib.rs#L9
warning: unused import: `std::collections::HashMap`
--> infra/src/lib.rs:9:5
|
9 | use std::collections::HashMap;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
[clippy] infra/src/lib.rs#L10:
infra/src/lib.rs#L10
warning: unused import: `Mutex`
--> infra/src/lib.rs:10:22
|
10 | use std::sync::{Arc, Mutex};
| ^^^^^
|
[clippy] infra/src/lib.rs#L18:
infra/src/lib.rs#L18
warning: unused imports: `Explain`, `PlanType`, `TableSource`, and `ToStringifiedPlan`
--> infra/src/lib.rs:18:32
|
18 | use datafusion::logical_expr::{Explain, LogicalPlan, PlanType, TableSource, ToStringifiedPlan};
| ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
|
[clippy] infra/src/lib.rs#L21:
infra/src/lib.rs#L21
warning: unused import: `log`
--> infra/src/lib.rs:21:27
|
21 | use datafusion::prelude::{log, Expr, SessionConfig, SessionContext};
| ^^^
|
[clippy] infra/src/lib.rs#L132:
infra/src/lib.rs#L132
warning: consider removing unnecessary double parentheses
--> infra/src/lib.rs:132:17
|
132 | / (LogicalJoinOperator {
133 | | join_type: (),
134 | | left: LogicalLink::LogicalNode(Self::convert_into_optd_logical(&join.left)),
135 | | right: LogicalLink::LogicalNode(Self::convert_into_optd_logical(&join.right)),
136 | | condition: LogicalLink::ScalarNode(Arc::new(todo!())),
137 | | }),
| |__________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
= note: `#[warn(clippy::double_parens)]` on by default
|
[clippy] infra/src/lib.rs#L132:
infra/src/lib.rs#L132
warning: unnecessary parentheses around function argument
--> infra/src/lib.rs:132:17
|
132 | (LogicalJoinOperator {
| ^
...
137 | }),
| ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
132 ~ LogicalJoinOperator {
133 | join_type: (),
...
136 | condition: LogicalLink::ScalarNode(Arc::new(todo!())),
137 ~ },
|
|
[clippy] infra/src/lib.rs#L141:
infra/src/lib.rs#L141
warning: consider removing unnecessary double parentheses
--> infra/src/lib.rs:141:17
|
141 | / (LogicalScanOperator {
142 | | table_name: table_scan.table_name.to_quoted_string(),
143 | | predicate: None, // TODO fix this: there are multiple predicates in the scan but our IR only accepts one
144 | | }),
| |__________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
|
[clippy] infra/src/lib.rs#L141:
infra/src/lib.rs#L141
warning: unnecessary parentheses around function argument
--> infra/src/lib.rs:141:17
|
141 | (LogicalScanOperator {
| ^
...
144 | }),
| ^
|
help: remove these parentheses
|
141 ~ LogicalScanOperator {
142 | table_name: table_scan.table_name.to_quoted_string(),
143 | predicate: None, // TODO fix this: there are multiple predicates in the scan but our IR only accepts one
144 ~ },
|
|
[clippy] infra/src/lib.rs#L16:
infra/src/lib.rs#L16
warning: use of deprecated type alias `datafusion::execution::runtime_env::RuntimeConfig`: please use `RuntimeEnvBuilder` instead
--> infra/src/lib.rs:16:41
|
16 | use datafusion::execution::runtime_env::RuntimeConfig;
| ^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
|
[clippy] infra/src/lib.rs#L214:
infra/src/lib.rs#L214
warning: use of deprecated type alias `datafusion::execution::runtime_env::RuntimeConfig`: please use `RuntimeEnvBuilder` instead
--> infra/src/lib.rs:214:23
|
214 | rn_config: Option<RuntimeConfig>,
| ^^^^^^^^^^^^^
|
[clippy] infra/src/lib.rs#L229:
infra/src/lib.rs#L229
warning: use of deprecated type alias `datafusion::execution::runtime_env::RuntimeConfig`: please use `RuntimeEnvBuilder` instead
--> infra/src/lib.rs:229:9
|
229 | RuntimeConfig::new()
| ^^^^^^^^^^^^^
|
[clippy] infra/src/lib.rs#L173:
infra/src/lib.rs#L173
warning: unused variable: `optdLogicalPlan`
--> infra/src/lib.rs:173:13
|
173 | let optdLogicalPlan = Self::get_optd_logical_plan(logical_plan);
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optdLogicalPlan`
|
= note: `#[warn(unused_variables)]` on by default
|
[clippy] infra/src/lib.rs#L174:
infra/src/lib.rs#L174
warning: unused variable: `optimizer`
--> infra/src/lib.rs:174:17
|
174 | let mut optimizer = self.optimizer.clone();
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optimizer`
|
[clippy] infra/src/lib.rs#L174:
infra/src/lib.rs#L174
warning: variable does not need to be mutable
--> infra/src/lib.rs:174:13
|
174 | let mut optimizer = self.optimizer.clone();
| ----^^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
[clippy] infra/src/types/memo.rs#L7:
infra/src/types/memo.rs#L7
warning: unused variable: `logical_expr`
--> infra/src/types/memo.rs:7:38
|
7 | pub async fn add_expr(&mut self, logical_expr: Expr) -> (ExprId, GroupId) {
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_expr`
|
[clippy] infra/src/types/memo.rs#L11:
infra/src/types/memo.rs#L11
warning: unused variable: `logical_expr`
--> infra/src/types/memo.rs:11:47
|
11 | pub async fn add_expr_to_group(&mut self, logical_expr: Expr, group_id: GroupId) -> ExprId {
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_expr`
|
[clippy] infra/src/types/memo.rs#L11:
infra/src/types/memo.rs#L11
warning: unused variable: `group_id`
--> infra/src/types/memo.rs:11:67
|
11 | pub async fn add_expr_to_group(&mut self, logical_expr: Expr, group_id: GroupId) -> ExprId {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id`
|
[clippy] infra/src/types/memo.rs#L15:
infra/src/types/memo.rs#L15
warning: unused variable: `group_id`
--> infra/src/types/memo.rs:15:45
|
15 | pub async fn get_group_exprs(&mut self, group_id: GroupId) -> Vec<(ExprId, Expr)> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_id`
|
[clippy] infra/src/types/memo.rs#L19:
infra/src/types/memo.rs#L19
warning: unused variable: `logical_expr_id`
--> infra/src/types/memo.rs:19:44
|
19 | pub async fn get_expr_group(&mut self, logical_expr_id: ExprId) -> GroupId {
| ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_expr_id`
|
[clippy] infra/src/lib.rs#L74:
infra/src/lib.rs#L74
warning: unreachable call
--> infra/src/lib.rs:74:32
|
74 | predicate: PhysicalLink::ScalarNode(todo!()),
| ^^^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable
| |
| unreachable call
|
= note: `#[warn(unreachable_code)]` on by default
|
[clippy] infra/src/lib.rs#L99:
infra/src/lib.rs#L99
warning: unreachable call
--> infra/src/lib.rs:99:36
|
99 | condition: PhysicalLink::ScalarNode(todo!()),
| ^^^^^^^^^^^^^^^^^^^^^^^^ ------- any code following this expression is unreachable
| |
| unreachable call
|
[clippy] infra/src/lib.rs#L136:
infra/src/lib.rs#L136
warning: unreachable call
--> infra/src/lib.rs:136:56
|
136 | condition: LogicalLink::ScalarNode(Arc::new(todo!())),
| ^^^^^^^^ ------- any code following this expression is unreachable
| |
| unreachable call
|
[clippy] infra/src/lib.rs#L105:
infra/src/lib.rs#L105
warning: unused variable: `logical_plan`
--> infra/src/lib.rs:105:26
|
105 | pub fn mock_optimize(logical_plan: OptDLogicalPlan) -> PhysicalPlan {
| ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_logical_plan`
|