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

Fix bug in WKT point literal regex #1593

Merged

Conversation

ullingerc
Copy link
Collaborator

@ullingerc ullingerc commented Oct 28, 2024

This fixes a bug in the regular expression that is used for extracting points from WKT literals. The bug caused WKT literals with more than one digit but without a decimal point in the latitude coordinate to be falsely rejected as GeoPoints. Fixes #1579

This caused WKT literals with more than one digit, but without a decimal point in the latitude coordinate to be falsely rejected as GeoPoints.

Fixes ad-freiburg#1579
@sparql-conformance
Copy link

Copy link

codecov bot commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.08%. Comparing base (f856919) to head (7beec3b).
Report is 12 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1593      +/-   ##
==========================================
+ Coverage   89.00%   89.08%   +0.08%     
==========================================
  Files         368      371       +3     
  Lines       33888    34437     +549     
  Branches     3828     3899      +71     
==========================================
+ Hits        30161    30678     +517     
- Misses       2473     2484      +11     
- Partials     1254     1275      +21     

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

Copy link

sonarcloud bot commented Oct 28, 2024

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 very good to me, thanks a lot for the fix!

@hannahbast hannahbast merged commit 07d64d7 into ad-freiburg:master Oct 28, 2024
22 checks passed
@ullingerc ullingerc deleted the wkt-points-without-decimals branch October 28, 2024 13:57
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.

QLever only parses WKT points with decimal points
2 participants