HaoYang670 opened a new issue, #4841: URL: https://github.com/apache/arrow-datafusion/issues/4841
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** https://github.com/apache/arrow-datafusion/blob/2db3d2eae9f4e51f01cb705677c8c231b43a6172/datafusion/optimizer/src/optimizer.rs#L312-L320 We don't need the string comparison anymore because we have had the `try_optimize` method in the `OptimizerRule` which returns `None` when the plan is not optimized. **Describe the solution you'd like** Simplify the above logic. **Describe alternatives you've considered** We could not do this if there is any reason. **Additional context** Add any other context or screenshots about the feature request here. -- 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]
