-
Notifications
You must be signed in to change notification settings - Fork 86
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
Avoid duplicate statements in CONSTRUCT query to improve perfomance #463
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General comment
Thanks for this. Well done.
Testing
I have reproduce the issue before applying fix in this PR, and verified it is fixed with this PR. Moreover, unit tests are passing.
Code reviewing
Please take a look into two my tiny comments regarding the code.
api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/JenaModelUtils.java
Outdated
Show resolved
Hide resolved
api/src/main/java/edu/cornell/mannlib/vitro/webapp/dao/jena/JenaModelUtils.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@litvinovg thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent. Remove RDF form completes instantaneously.
VIVO GitHub issue
What does this pull request do?
Improved performance of removing statements with blank nodes.
What's new?
Removed duplicate lines from CONSTRUCT query
Added test
How should this be tested?
A description of what steps someone could take to:
Interested parties
@VIVO-project/vivo-committers
Related issue
vivo-project/VIVO#3871
Reviewers' expertise
Candidates for reviewing this PR should have some of the following expertises:
Java, Jena
Reviewers' report template
General comment
A reviewer should provide here comments and suggestions for requested changes if any.
Testing
A reviewer should briefly describe here how it was tested
Code reviewing
A reviewer should briefly describe here which part was code reviewed