Skip to content

Remove the #field meta extractor #2776

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

Merged
merged 2 commits into from
Dec 9, 2022

Conversation

dominiklohmann
Copy link
Member

@dominiklohmann dominiklohmann commented Dec 9, 2022

The predicate #field == "X" matched all events for which the field extractor X had data, i.e., it was semantically equivalent to X != nil.

Fundamentally, the #field meta extractor broke our model of extractors, since it did not result in a single value or a list of values to compare against, but rather created an implicit disjunction with changed relational operator semantics compared to all other predicates.

This removes the operator without a deprecation period as it received very little usage.

@dominiklohmann dominiklohmann requested a review from a team December 9, 2022 10:18
@dominiklohmann dominiklohmann force-pushed the story/sc-28660/remove-field-extractor branch from c1aab7c to a271ada Compare December 9, 2022 10:20
Copy link
Member

@mavam mavam left a comment

Choose a reason for hiding this comment

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

Looks fully covered.

@mavam mavam added the blocked Blocked by an (external) issue label Dec 9, 2022
@dominiklohmann dominiklohmann removed the blocked Blocked by an (external) issue label Dec 9, 2022
@dominiklohmann dominiklohmann force-pushed the story/sc-28660/remove-field-extractor branch from 759782b to 5f6ca5e Compare December 9, 2022 21:03
The predicate `#field == "X"` matched all events for which the field
extractor `X` had data, i.e., it was semantically equivalent to `X !=
nil`.

Fundamentally, the `#field` meta extractor broke our model of
extractors, since it did not result in a single value or a list of
values to compare against, but rather create an implicit disjunction
with changed relational operator semantics compared to all other
predicates.

This removes the operator without a deprecation period as it received
very little usage.
@dominiklohmann dominiklohmann force-pushed the story/sc-28660/remove-field-extractor branch from 6ded662 to 357fa54 Compare December 9, 2022 22:16
@dominiklohmann dominiklohmann merged commit 2d95904 into master Dec 9, 2022
@dominiklohmann dominiklohmann deleted the story/sc-28660/remove-field-extractor branch December 9, 2022 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants