Closed mhoangvslev closed 1 year ago
The query optimisation starts here: https://github.com/eclipse/rdf4j/blob/main/tools/federation/src/main/java/org/eclipse/rdf4j/federated/FedXConnection.java#L131
try {
federationContext.getMonitoringService().monitorQuery(queryInfo);
FederationEvaluationStatistics stats = new FederationEvaluationStatistics(queryInfo, dataset);
query = strategy.optimize(query, stats, bindings);
} catch (Exception e) {
log.warn("Exception occured during optimization (Query: " + queryInfo.getQueryID() + "): " + e.getMessage());
log.debug("Details: ", e);
throw new SailException(e);
}
Steps to debug
Copy
provenance.csv
from generation phaseActivate the right docker container (DO NOT DO THIS ON CHUCK)
Change the port in
experiments/bsbm/benchmark/evaluation/ideal/config/batch_0/ideal.conf
On VSCode, Launch the "Debugging on specific query" with these args:
Validate with this command: