Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecate: IN/NOT IN #758

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zachschuermann
Copy link
Collaborator

What changes are proposed in this pull request?

deprecate IN and NOT IN expressions. since they aren't used in delta protocol we shouldn't build directly into kernel and instead leverage opaque expressions to allow for engines to support any expressions they want without placing requirements on the kernel's expression language.

This PR affects the following public APIs

deprecates IN and NOT IN expressions

How was this change tested?

existing

Copy link
Collaborator

@scovich scovich left a comment

Choose a reason for hiding this comment

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

Looks like a bunch of annotation sites are missing?

Also, should we wait to make this change until we actually have opaque expressions? Otherwise we're telling people to move off an API there's no replacement for => not actionable.

@@ -41,8 +41,18 @@ pub enum BinaryOperator {
/// Distinct
Distinct,
/// IN
#[deprecated(
note = "IN expressions are deprecated and will be removed soon. Opaque expressions will \
allow for engines to interpret expressions which are not included in the kernel's \
Copy link
Collaborator

Choose a reason for hiding this comment

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

"... [implement and] interpret..."?

@zachschuermann zachschuermann added the merge hold Don't allow the PR to merge label Mar 20, 2025
@zachschuermann
Copy link
Collaborator Author

blocking on opaque expr support: #686

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge hold Don't allow the PR to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants