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

bolt: duplicated quads are not skipped properly #675

Closed
dennwc opened this issue Jan 5, 2018 · 1 comment
Closed

bolt: duplicated quads are not skipped properly #675

dennwc opened this issue Jan 5, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@dennwc
Copy link
Member

dennwc commented Jan 5, 2018

Steps to reproduce the issue:

cayley init -d bolt -a ./test.db
cayley load -d bolt -a ./test.db -i ./data/testdata.nq
cayley load -d bolt -a ./test.db -i ./data/testdata.nq
cayley dump -d bolt -a ./test.db -o=-

Received results:

<alice> <follows> <bob> .
<bob> <follows> <fred> .
<bob> <status> "cool_person" .
...
<alice> <follows> <bob> .
<bob> <follows> <fred> .
<bob> <status> "cool_person" .
...

Note duplicated quads.

Expected results:

<alice> <follows> <bob> .
<bob> <follows> <fred> .
<bob> <status> "cool_person" .
...

Output of cayley version or commit hash:

Cayley version: 0.7.0
Git commit hash: 6f8446e4171ebc84955dd0ff91927510ba1aee16
Build date: 2017-12-24T17:51:48Z
@dennwc dennwc added the bug label Jan 5, 2018
@dennwc dennwc added this to the v0.7.1 milestone Jan 5, 2018
@dennwc dennwc self-assigned this Jan 5, 2018
@dennwc dennwc closed this as completed in 3adb786 Jan 5, 2018
@eshijia
Copy link

eshijia commented Apr 15, 2018

@dennwc Recently, I have found that if a data file itself contains duplicate quads, the latest version of Cayley will still retain the duplicated quads after the cayley load command.

@dennwc dennwc modified the milestones: v0.7.1, v0.7.4 Apr 23, 2018
@dennwc dennwc reopened this Apr 23, 2018
@dennwc dennwc closed this as completed in 35d9923 Jun 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants