alamb commented on code in PR #17199:
URL: https://github.com/apache/datafusion/pull/17199#discussion_r2279420009


##########
datafusion/expr/src/logical_plan/invariants.rs:
##########
@@ -74,7 +74,7 @@ pub fn assert_executable_invariants(plan: &LogicalPlan) -> 
Result<()> {
 fn assert_valid_extension_nodes(plan: &LogicalPlan, check: InvariantLevel) -> 
Result<()> {
     plan.apply_with_subqueries(|plan: &LogicalPlan| {
         if let LogicalPlan::Extension(Extension { node }) = plan {
-            node.check_invariants(check, plan)?;

Review Comment:
   Oh, I see -- the point is there is no value to getting the plan passed in 
here as there is nothing else in `LogicalPlan::Extension(Extension { node })`
   
   That makes sense to me



-- 
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]

Reply via email to