Skip to content

Conversation

@peter-toth
Copy link
Contributor

@peter-toth peter-toth commented Apr 7, 2024

Currently inspect_expr_pre() is a specaial wrapper around Expr::apply(), but all callsites of inspect_expr_pre() could use Expr::apply() directly. This PR (toghether with #9913) refactors all callsites of inspect_expr_pre() so technically it could be removed too. But because inspect_expr_pre() is a public function removing it would be a breaking change...

@alamb
Copy link
Contributor

alamb commented Apr 7, 2024

But because inspect_expr_pre() is a public function removing it would be a breaking change..

I think what we should do is deprecate it -- It could be done in a follow on PR

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @peter-toth -- 👍

@alamb alamb merged commit 7acc8f1 into apache:main Apr 7, 2024
@peter-toth
Copy link
Contributor Author

Thanks @alamb for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logical-expr Logical plan and expressions optimizer Optimizer rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants