-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
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.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request