SuccessChanges

Summary

  1. GH-2238: fix join order optimization for bound variables through BIND (#2239) (commit: d18f9e0) (details)
  2. GH-387 really uses contexts instead of only creating an empty array (#2241) (commit: b5331be) (details)
  3. GH-2189 fix java 7 diamond use (#2244) (commit: 2e06aa3) (details)
Commit d18f9e02ef39335b30928499d59ab04f318e8bfc by github
GH-2238: fix join order optimization for bound variables through BIND (#2239)

We now explicitly consider the binding names of the BIND clause (i.e. an
Extension) as variable for the join. In this way, statements where such
bindings occur obtain a lower cost.

Toy example for illustration:

SELECT ?project ?label WHERE {
BIND(:SomeThing AS ?type)
?project rdfs:label ?label .
?project rdf:type ?type .
}

With this change the type BGP gets evaluated before the label BGP.
Change is covered with a unit test.
(commit: d18f9e0)
The file was addedtools/federation/src/test/resources/tests/optimizer/queryPlan_bind.rq
The file was modifiedtools/federation/src/main/java/org/eclipse/rdf4j/federated/util/QueryAlgebraUtil.java (diff)
The file was modifiedtools/federation/src/test/java/org/eclipse/rdf4j/federated/QueryPlanTest.java (diff)
The file was addedtools/federation/src/test/resources/tests/optimizer/queryPlan_bind.qp
Commit b5331be3664292df52453a200b27cc29fc72faa8 by github
GH-387 really uses contexts instead of only creating an empty array (#2241)

Signed-off-by:Bart Hanssens <bart.hanssens@bosa.fgov.be>
(commit: b5331be)
The file was modifiedcore/repository/sail/src/main/java/org/eclipse/rdf4j/repository/sail/helpers/RDFSailRemover.java (diff)
The file was modifiedtestsuites/sparql/src/main/java/org/eclipse/rdf4j/query/parser/sparql/SPARQLUpdateTest.java (diff)
Commit 2e06aa3dec289d6b580e40371c2e97072e9027b6 by github
GH-2189 fix java 7 diamond use (#2244)

Signed-off-by: Håvard Ottestad <hmottestad@gmail.com>
(commit: 2e06aa3)
The file was modifiedcore/rio/api/src/main/java/org/eclipse/rdf4j/rio/helpers/BasicParserSettings.java (diff)
The file was modifiedcore/http/client/src/main/java/org/eclipse/rdf4j/http/client/BackgroundTupleResult.java (diff)
The file was modifiedcore/repository/api/src/main/java/org/eclipse/rdf4j/repository/RepositoryResult.java (diff)
The file was modifiedcore/query/src/main/java/org/eclipse/rdf4j/query/QueryResult.java (diff)
The file was modifiedcore/spin/src/main/java/org/eclipse/rdf4j/spin/SpinParser.java (diff)
The file was modifiedcore/http/protocol/src/main/java/org/eclipse/rdf4j/http/protocol/error/ErrorType.java (diff)
The file was modifiedcore/rio/api/src/main/java/org/eclipse/rdf4j/rio/helpers/XMLParserSettings.java (diff)
The file was modifiedcore/repository/manager/src/main/java/org/eclipse/rdf4j/repository/manager/RepositoryManager.java (diff)
The file was modifiedcore/sail/extensible-store/src/main/java/org/eclipse/rdf4j/sail/extensiblestore/evaluationstatistics/ExtensibleDynamicEvaluationStatistics.java (diff)
The file was modifiedcore/queryalgebra/evaluation/src/main/java/org/eclipse/rdf4j/query/algebra/evaluation/QueryContext.java (diff)
The file was modifiedcore/queryparser/sparql/src/test/java/org/eclipse/rdf4j/query/parser/sparql/TestSparqlStarParser.java (diff)
The file was modifiedtools/federation/src/main/java/org/eclipse/rdf4j/federated/monitoring/QueryPlanLog.java (diff)
The file was modifiedtools/federation/src/main/java/org/eclipse/rdf4j/federated/optimizer/GenericInfoOptimizer.java (diff)
The file was modifiedcore/queryresultio/api/src/main/java/org/eclipse/rdf4j/query/resultio/BasicQueryWriterSettings.java (diff)
The file was modifiedcore/queryresultio/api/src/main/java/org/eclipse/rdf4j/query/resultio/helpers/BackgroundTupleResult.java (diff)
The file was modifiedcompliance/sparql/src/test/java/org/eclipse/rdf4j/query/parser/sparql/SPARQLServiceEvaluationTest.java (diff)
The file was modifiedcore/sail/nativerdf/src/test/java/org/eclipse/rdf4j/sail/nativerdf/btree/BTreeTest.java (diff)
The file was modifiedtools/workbench/src/main/java/org/eclipse/rdf4j/workbench/commands/QueryServlet.java (diff)
The file was modifiedtools/federation/src/main/java/org/eclipse/rdf4j/federated/FedXConnection.java (diff)
The file was modifiedcore/rio/api/src/main/java/org/eclipse/rdf4j/rio/helpers/JSONLDSettings.java (diff)
The file was modifiedcore/sparqlbuilder/src/main/java/org/eclipse/rdf4j/sparqlbuilder/core/GroupBy.java (diff)
The file was modifiedcore/sail/lucene-api/src/main/java/org/eclipse/rdf4j/sail/lucene/AbstractSearchIndex.java (diff)
The file was modifiedcore/queryparser/sparql/src/main/java/org/eclipse/rdf4j/query/parser/sparql/ast/JJTSyntaxTreeBuilderState.java (diff)
The file was modifiedcore/queryalgebra/evaluation/src/test/java/org/eclipse/rdf4j/query/algebra/evaluation/impl/EvaluationStrategyWithRDFStarTest.java (diff)
The file was modifiedcore/spin/src/main/java/org/eclipse/rdf4j/spin/function/spif/For.java (diff)
The file was modifiedcore/queryparser/sparql/src/main/java/org/eclipse/rdf4j/query/parser/sparql/TripleRefCollector.java (diff)
The file was modifiedcore/model/src/main/java/org/eclipse/rdf4j/model/util/URIUtil.java (diff)
The file was modifiedcore/repository/manager/src/main/java/org/eclipse/rdf4j/repository/manager/RepositoryProvider.java (diff)
The file was modifiedcore/rio/api/src/main/java/org/eclipse/rdf4j/rio/helpers/ContextStatementCollector.java (diff)
The file was modifiedcore/sail/elasticsearch/src/main/java/org/eclipse/rdf4j/sail/elasticsearch/ElasticsearchDocument.java (diff)
The file was modifiedcore/queryparser/sparql/src/main/java/org/eclipse/rdf4j/query/parser/sparql/ast/SyntaxTreeBuilder.java (diff)
The file was modifiedcore/query/src/main/java/org/eclipse/rdf4j/query/QueryLanguage.java (diff)
The file was modifiedcore/sparqlbuilder/src/main/java/org/eclipse/rdf4j/sparqlbuilder/core/OrderBy.java (diff)
The file was modifiedtools/federation/src/main/java/org/eclipse/rdf4j/federated/util/QueryAlgebraUtil.java (diff)
The file was modifiedcore/repository/http/src/main/java/org/eclipse/rdf4j/repository/http/helpers/HTTPRepositorySettings.java (diff)
The file was modifiedcore/query/src/main/java/org/eclipse/rdf4j/query/impl/BackgroundGraphResult.java (diff)
The file was modifiedcore/sparqlbuilder/src/main/java/org/eclipse/rdf4j/sparqlbuilder/core/Projection.java (diff)
The file was modifiedcore/rio/api/src/main/java/org/eclipse/rdf4j/rio/helpers/RDFaParserSettings.java (diff)
The file was modifiedcore/spin/src/main/java/org/eclipse/rdf4j/spin/function/spif/Split.java (diff)
The file was modifiedcore/http/client/src/main/java/org/eclipse/rdf4j/http/client/BackgroundGraphResult.java (diff)
The file was modifiedcore/spin/src/main/java/org/eclipse/rdf4j/spin/function/spif/SingleValueToListTransformer.java (diff)
The file was modifiedcore/sail/model/src/main/java/org/eclipse/rdf4j/sail/model/SailModel.java (diff)
The file was modifiedcore/util/src/test/java/org/eclipse/rdf4j/common/iteration/SilentIterationTest.java (diff)
The file was modifiedcore/repository/sparql/src/main/java/org/eclipse/rdf4j/repository/sparql/SPARQLConnection.java (diff)
The file was modifiedcore/repository/sparql/src/main/java/org/eclipse/rdf4j/repository/sparql/federation/RepositoryFederatedService.java (diff)