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

cleanup(inc-723): always run LowCardinalityProcessor, remove ConditionSimpllifier #5820

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

volokluev
Copy link
Member

the USE_CARDINALITY_CASTER setting is no longer necessary. it was shipped to fix CI urgently. The real fix is in now.

The ConditionSimplifierProcessor is also unnecessary now. We can remove it from the codebase and tests. The LowCardinalityProcessor takes care of this bug by itself

@volokluev volokluev requested review from a team as code owners April 25, 2024 20:26
@volokluev volokluev enabled auto-merge (squash) April 26, 2024 17:36
)
== 0
):
if state.get_int_config("use.low.cardinality.processor", 1) == 0:
Copy link
Member

Choose a reason for hiding this comment

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

Enabling this by default caused some test failures last time that blocked sentry master, have we checked it won't happen again?

Copy link
Member Author

Choose a reason for hiding this comment

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

The processor now works differently, the ifNull(col, "") is removed, instead it casts to a Nullable(String). I ran some of the failed tests locally with the new processor and they passed

@volokluev volokluev merged commit 5b6fde1 into master Apr 26, 2024
29 checks passed
@volokluev volokluev deleted the volo/oncall/run_cardinality_caster_always branch April 26, 2024 18:55
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.

3 participants