hhhizzz commented on code in PR #23028:
URL: https://github.com/apache/datafusion/pull/23028#discussion_r3463738280
##########
datafusion/expr/src/logical_plan/plan.rs:
##########
@@ -4144,6 +4144,8 @@ fn calc_func_dependencies_for_project(
exprs: &[Expr],
input: &LogicalPlan,
) -> Result<FunctionalDependencies> {
+ const COMPUTED_EXPR_INDEX: usize = usize::MAX;
Review Comment:
Thanks, added
##########
datafusion/expr/src/logical_plan/plan.rs:
##########
@@ -4144,6 +4144,8 @@ fn calc_func_dependencies_for_project(
exprs: &[Expr],
input: &LogicalPlan,
) -> Result<FunctionalDependencies> {
+ const COMPUTED_EXPR_INDEX: usize = usize::MAX;
+
let input_fields = input.schema().field_names();
// Calculate expression indices (if present) in the input schema.
Review Comment:
Added comments.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]