liukun4515 commented on a change in pull request #1325:
URL: https://github.com/apache/arrow-datafusion/pull/1325#discussion_r753615696
##########
File path: datafusion/src/optimizer/constant_folding.rs
##########
@@ -107,7 +107,7 @@ impl OptimizerRule for ConstantFolding {
utils::from_plan(plan, &expr, &new_inputs)
}
- LogicalPlan::TableScan { .. } | LogicalPlan::EmptyRelation { .. }
=> {
+ LogicalPlan::TableScan { .. } | LogicalPlan::EmptyRelation(_) => {
Review comment:
@xudong963 @alamb
I might miss this point when write the code.
After all the extracting logical plan, i will file a followup pull request
to keep consistent.
--
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]