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

Avoid duplicate statements in CONSTRUCT query to improve perfomance #463

Merged
merged 3 commits into from
Jun 10, 2024

Conversation

litvinovg
Copy link
Contributor

@litvinovg litvinovg commented Apr 23, 2024

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:

  • Reproduce the problem in the issue
  • Test that the pull request resolves the problem
  • Run test without the fix, run test after the fix

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

Copy link
Contributor

@chenejac chenejac left a 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.

Copy link
Contributor

@chenejac chenejac left a comment

Choose a reason for hiding this comment

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

@litvinovg thanks.

@litvinovg litvinovg requested a review from chenejac May 7, 2024 11:55
Copy link
Member

@brianjlowe brianjlowe left a 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.

@brianjlowe brianjlowe merged commit 4512ca7 into vivo-project:main Jun 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It takes too much time to remove blank statements
3 participants