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

Allow ; after update request with a single operation #1750

Merged
merged 4 commits into from
Feb 1, 2025

Conversation

Qup42
Copy link
Member

@Qup42 Qup42 commented Feb 1, 2025

QLever does not yet support update requests with more than one operation, e.g., DELETE DATA { <pi> <value> 3.14 }; INSERT DATA { <pi> <value> 3.1459 }. Due to an oversight, the current implementation also did not support single operations followed by a semicolon, e.g., DELETE DATA { <pi> <value> 3.14 };. These are now supported. Fixes #1747

NOTE: Support for multiple operations in a single update request will be added soon.

Copy link

codecov bot commented Feb 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.95%. Comparing base (f2562fe) to head (c580d71).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1750   +/-   ##
=======================================
  Coverage   89.95%   89.95%           
=======================================
  Files         395      395           
  Lines       37651    37651           
  Branches     4234     4234           
=======================================
  Hits        33869    33869           
+ Misses       2487     2484    -3     
- Partials     1295     1298    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hannahbast hannahbast changed the title Allow ; after an Update Allow ; after update request with a single operation Feb 1, 2025
Copy link
Member

@hannahbast hannahbast left a comment

Choose a reason for hiding this comment

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

Looks great now, thanks a lot for the quick fix! I will merge this as soon as all the tests are green. I already tested it end to end and it works like a charm.

@sparql-conformance
Copy link

Copy link

sonarqubecloud bot commented Feb 1, 2025

@hannahbast hannahbast merged commit 50c1f0a into ad-freiburg:master Feb 1, 2025
24 checks passed
@Qup42 Qup42 deleted the relaxRulesForSingleUpdate branch February 2, 2025 15:12
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.

rdf4j inserts add semicolons after each statement and upsets qlever query parse
2 participants