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

Do not include empty nodes in the export output. #4773

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Feb 13, 2020

Empty nodes are not included in the export output but the separator (a
comma in the case of JSON) is being appended. The fix is to skip over
empty values.

Added a deleted node to the exported graph to ensure that these type of
nodes are handled properly.

Fixes #3610


This change is Reviewable

Empty nodes are not included in the export output but the separator (a
comma in the case of JSON) is being appended. The fix is to skip over
empty values.

Added a deleted node to the exported graph to ensure that these type of
nodes are handled properly.
@martinmr martinmr requested review from manishrjain and a team as code owners February 13, 2020 20:24
@martinmr martinmr requested a review from MichelDiz February 13, 2020 20:24
Copy link
Contributor

@danielmai danielmai left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain and @MichelDiz)

Copy link
Contributor

@MichelDiz MichelDiz left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain)

@martinmr martinmr merged commit e96fb63 into master Feb 13, 2020
@martinmr martinmr deleted the martinmr/empty-node-export branch February 13, 2020 22:57
@danielmai
Copy link
Contributor

@martinmr can you backport this to release/v1.2?

martinmr added a commit that referenced this pull request Mar 6, 2020
Empty nodes are not included in the export output but the separator (a
comma in the case of JSON) is being appended. The fix is to skip over
empty values.

Added a deleted node to the exported graph to ensure that these type of
nodes are handled properly.
@martinmr
Copy link
Contributor Author

martinmr commented Mar 6, 2020

#4896

martinmr added a commit that referenced this pull request Mar 6, 2020
Empty nodes are not included in the export output but the separator (a
comma in the case of JSON) is being appended. The fix is to skip over
empty values.

Added a deleted node to the exported graph to ensure that these type of
nodes are handled properly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Dgraph exports incorrect data in JSON and RDF formats.
3 participants