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: Correctly handles nil one-one joins #837

Merged
merged 1 commit into from Sep 21, 2022

Conversation

AndrewSisley
Copy link
Contributor

Relevant issue(s)

Resolves #829

Description

Correctly handles nil one-one joins. Credit goes to John for spotting the fix a few days ago. Can go in 0.3.1 if reviewed quickly.

Specify the platform(s) on which this was tested:

  • Debian Linux

@AndrewSisley AndrewSisley added bug Something isn't working area/query Related to the query component action/no-benchmark Skips the action that runs the benchmark. labels Sep 21, 2022
@AndrewSisley AndrewSisley added this to the DefraDB v0.4 milestone Sep 21, 2022
@AndrewSisley AndrewSisley requested a review from a team September 21, 2022 14:07
@AndrewSisley AndrewSisley self-assigned this Sep 21, 2022
Copy link
Member

@shahzadlone shahzadlone left a comment

Choose a reason for hiding this comment

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

LGTM!

@AndrewSisley AndrewSisley modified the milestones: DefraDB v0.4, DefraDB v0.3.1 Sep 21, 2022
@codecov
Copy link

codecov bot commented Sep 21, 2022

Codecov Report

Merging #837 (aae1094) into develop (c967b9b) will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #837      +/-   ##
===========================================
+ Coverage    59.56%   59.59%   +0.03%     
===========================================
  Files          155      155              
  Lines        17275    17274       -1     
===========================================
+ Hits         10290    10295       +5     
+ Misses        6055     6051       -4     
+ Partials       930      928       -2     
Impacted Files Coverage Δ
query/graphql/planner/type_join.go 74.26% <ø> (+1.67%) ⬆️

@AndrewSisley AndrewSisley merged commit 5ed7426 into develop Sep 21, 2022
@AndrewSisley AndrewSisley deleted the sisley/fix/I829-nil-one-one branch September 21, 2022 14:25
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action/no-benchmark Skips the action that runs the benchmark. area/query Related to the query component bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

One-one joins return empty object instead of nil if child does not exist
2 participants