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

Bugfixes & improve RTree delete performance #397

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Bugfixes & improve RTree delete performance #397

merged 2 commits into from
Sep 17, 2024

Conversation

Maxxen
Copy link
Member

@Maxxen Maxxen commented Sep 16, 2024

This PR fixes some minor bugs found by ASAN in the shape file reader and the geometry dimension conversion code.

It also fixes an issue that caused deletes in the RTree to delete the wrong entry or silently fail to delete at all. I've also made a fix so that the delete code will actually use the rtree bounding boxes to prune out candidates when searching for the entry to remove, improving performance considerably.

This PR also adds a basic internal RTree::Print() function to aid in debugging.

@Maxxen Maxxen merged commit 43e84f2 into duckdb:main Sep 17, 2024
11 of 12 checks passed
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.

1 participant