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


##########
datafusion/session/src/physical_optimizer.rs:
##########
@@ -120,10 +120,14 @@ where
 /// `PhysicalOptimizerRule` transforms one [`ExecutionPlan`] into another which
 /// computes the same results, but in a potentially more efficient way.
 ///
-/// Use [`SessionState::add_physical_optimizer_rule`] to register additional
+/// The returned plan must be valid and produce the same results as the input

Review Comment:
   I also felt adding some more cross references here will make it easier to 
find



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