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

fix(trends): legacy considers '' breakdown as null #21159

Merged
merged 10 commits into from
Mar 27, 2024

Conversation

mariusandra
Copy link
Collaborator

@mariusandra mariusandra commented Mar 26, 2024

Problem

Legacy trends consider "" equal to null in breakdowns.

Changes

Match this in HogQL land. For now.

I suggest in the future we add fine grained null controls for breakdowns, and add "hide missing values" as an option you can choose in the breakdown options popup.

How did you test this code?

CI and snapshot tests

@mariusandra mariusandra marked this pull request as ready for review March 26, 2024 14:45
@mariusandra mariusandra requested a review from a team March 26, 2024 14:45
Copy link
Contributor

@thmsobrmlr thmsobrmlr left a comment

Choose a reason for hiding this comment

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

A test would be great, otherwise looks 👍

@mariusandra
Copy link
Collaborator Author

Agreed. We do have the snapshot tests, but going to just merge these in now and make a not to add it later. Thanks!

@mariusandra mariusandra merged commit e027202 into master Mar 27, 2024
126 of 127 checks passed
@mariusandra mariusandra deleted the trends-breakdown-empty-null branch March 27, 2024 10:47
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