Skip to content

Don't attempt to decode NULL graph entities #69

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 3 commits into from
Apr 3, 2020
Merged

Conversation

jeffreylovitz
Copy link
Contributor

Blocker for OPTIONAL MATCH.

@jeffreylovitz jeffreylovitz requested a review from swilly22 March 30, 2020 18:55
@jeffreylovitz jeffreylovitz self-assigned this Mar 30, 2020
@codecov
Copy link

codecov bot commented Mar 30, 2020

Codecov Report

Merging #69 into master will decrease coverage by 0.19%.
The diff coverage is 66.66%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #69     +/-   ##
======================================
- Coverage    84.2%   84%   -0.2%     
======================================
  Files           8     8             
  Lines         538   544      +6     
======================================
+ Hits          453   457      +4     
- Misses         85    87      +2
Impacted Files Coverage Δ
redisgraph/query_result.py 81.08% <66.66%> (-0.49%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update be46c8a...697540c. Read the comment docs.

@@ -219,6 +227,9 @@ def pretty_print(self):
def is_empty(self):
return len(self.result_set) == 0

def is_null_scalar(self, cell):
return cell == [ResultSetScalarTypes.VALUE_NULL, None]
Copy link
Contributor

Choose a reason for hiding this comment

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

return ResultSetCell_GetType(cell) == ResultSetScalarTypes.VALUE_NULL

@swilly22 swilly22 merged commit 78123b4 into master Apr 3, 2020
@swilly22 swilly22 deleted the null-graph-entities branch April 3, 2020 15:02
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