-
Notifications
You must be signed in to change notification settings - Fork 103
Extend DeltaTriples to also keep track of updates to the internal permutations [HANNAH IS SCEPTICAL OF THE DESIGN]
#2561
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
base: master
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2561 +/- ##
==========================================
- Coverage 91.15% 91.14% -0.01%
==========================================
Files 471 471
Lines 40185 40231 +46
Branches 5376 5379 +3
==========================================
+ Hits 36629 36669 +40
- Misses 2021 2024 +3
- Partials 1535 1538 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Qup42
left a comment
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.
Nothing much from me, only to small suggestions.
joka921
left a comment
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.
We had a 1-1 discussion.
Qup42
left a comment
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.
Looks good to me once the changes from Johannes review are incorporated. Great that we could get this part done so quickly! Now I can continue with some of my PRs :)
joka921
left a comment
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.
We have a chance to get rid of some more duplications, but overall I like this.
joka921
left a comment
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.
Thank youy very much, make sure to write a descriptive message.
Overview
Conformance check passed ✅No test result changes. |
|
hannahbast
left a comment
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.
@RobinTF @joka921 Thank you for this. I understand the change and see that it works, but would have expected something slightly different. Namely, we have already refactored our index scan such that it simply gets a PermutationPtr, but is otherwise oblivious to the nature of the permutation (normal, internal, materialized view, whatever).
Shouldn't we do the same thing for the located triples? That is, whatever the set of permutations is (just two of them, all six of them, all six and the two internal ones, ...), we have one LocatedTriplesPerBlock for each permutation, and the LocatedTriplesPerBlock just know to which permutation they below and are otherwise unaware of the nature of the permutation.
Of course, there needs to be code somewhere that decides, which permutation is chosen for a particular operation, and which triples are added to which permutation, but the permutations and located triples themselves are oblivious.
DeltaTriple infrastructure for internal permutationsDeltaTriples to also keep track of updates to the internal permutations
DeltaTriples to also keep track of updates to the internal permutationsDeltaTriples to also keep track of updates to the internal permutations [HANNAH IS SCEPTICAL OF THE DESIGN]



The
DeltaTriplescan now keep track ofLocatedTriplesPerBlockfor each of the six normal permutations (PSO, POS, SPO, SOP, OSP, and OPS), as well as for the two internal permutations (PSO and POS). This does not yet change any functionality, but is preparation for #2461, which will also consider the special language triples (which reside in the internal permutations) when an update triples with an object with a language tag is encountered