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 joins to include partial null results #767

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

Conversation

jbrooks-stripe
Copy link
Collaborator

@jbrooks-stripe jbrooks-stripe commented May 24, 2024

Summary

We found some online/offline inconsistencies with GroupBys when using multiple keys where some contained nulls. The online behavior would aggregate on (key1, null), whereas the offline would result in nulls if any keys were null.

This corrects the offline joins to match the online behavior of partial aggregations.

Why / Goal

Test Plan

  • Added Unit Tests
  • Covered by existing CI
  • Integration tested

Checklist

  • Documentation update

Reviewers

@jbrooks-stripe jbrooks-stripe force-pushed the jbrooks-partial-null-results branch from 8f4f080 to f9a70ee Compare May 24, 2024 20:39
Copy link
Contributor

@nikhilsimha nikhilsimha left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks for the fix! There are some UT errors.

@jbrooks-stripe jbrooks-stripe marked this pull request as ready for review May 28, 2024 16:45
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