Aklakan opened a new pull request, #3995:
URL: https://github.com/apache/jena/pull/3995
GitHub issue resolved #3994
Pull request Description: Adds skip scan evaluation for single-pattern
queries to TDB2. Added special code paths to `OpExecutorTDB2` for `OpDistinct`
and `OpGroupBy`.
Execution time to find all distinct predicates Wikidata truthy (8B triples)
becomes between 1 and 100 seconds (warm-cold caches)
Also works for simple group by patterns.
`SELECT DISTINCT ?p (COUNT(DISTINCT ?g) AS ?x) { GRAPH ?g { ?s ?p ?o } }
GROUP BY ?p`
Need yet to add tests - such as create permutations of patterns and compare
results with a reference engine (eg. ARQ).
----
- [ ] Tests are included.
- [ ] Documentation change and updates are provided for the [Apache Jena
website](https://github.com/apache/jena-site/)
- [ ] Commits have been squashed to remove intermediate development commit
messages.
- [ ] Key commit messages start with the issue number (GH-xxxx)
By submitting this pull request, I acknowledge that I am making a
contribution to the Apache Software Foundation under the terms and conditions
of the [Contributor's
Agreement](https://www.apache.org/licenses/contributor-agreements.html).
----
See the [Apache Jena "Contributing"
guide](https://github.com/apache/jena/blob/main/CONTRIBUTING.md).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]