Skip to content

Conversation

@peter-toth
Copy link
Contributor

Which issue does this PR close?

This PR adds default for Expr as Expr::Literal(ScalarValue::Null). This makes possible to use mem::take() in UnwrapCastExprRewriter and other rules in the future.

@github-actions github-actions bot added logical-expr Logical plan and expressions optimizer Optimizer rules labels Apr 18, 2024
Copy link
Contributor

@jayzhan211 jayzhan211 left a comment

Choose a reason for hiding this comment

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

👍

@alamb
Copy link
Contributor

alamb commented Apr 18, 2024

❤️ - thanks @peter-toth and @jayzhan211

@alamb alamb merged commit 92318c8 into apache:main Apr 18, 2024
@peter-toth
Copy link
Contributor Author

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

3 participants