jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject jena git commit: Don't globally change the optimizer
Date Sat, 16 Apr 2016 10:56:08 GMT
Repository: jena
Updated Branches:
  refs/heads/master 4b9116ced -> 39b07e1a8


Don't globally change the optimizer


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/39b07e1a
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/39b07e1a
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/39b07e1a

Branch: refs/heads/master
Commit: 39b07e1a857811d6c70cb4456ba169f8f25a21ba
Parents: 4b9116c
Author: Andy Seaborne <andy@apache.org>
Authored: Sat Apr 16 11:55:36 2016 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Sat Apr 16 11:55:49 2016 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/jena/sdb/engine/QueryEngineSDB.java   | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/39b07e1a/jena-sdb/src/main/java/org/apache/jena/sdb/engine/QueryEngineSDB.java
----------------------------------------------------------------------
diff --git a/jena-sdb/src/main/java/org/apache/jena/sdb/engine/QueryEngineSDB.java b/jena-sdb/src/main/java/org/apache/jena/sdb/engine/QueryEngineSDB.java
index ed5fc12..8f3e826 100644
--- a/jena-sdb/src/main/java/org/apache/jena/sdb/engine/QueryEngineSDB.java
+++ b/jena-sdb/src/main/java/org/apache/jena/sdb/engine/QueryEngineSDB.java
@@ -80,9 +80,6 @@ public class QueryEngineSDB extends QueryEngineBase
     {
         if ( context == null )
             context = ARQ.getContext().copy() ;
-        // Better (?) not to break BGPs up
-        context.set(ARQ.optFilterPlacementBGP, false) ;
-
         // See "DynamicDatasets" -- this could be enabled.
         if ( query != null )
         {
@@ -95,7 +92,8 @@ public class QueryEngineSDB extends QueryEngineBase
         this.store = dsg.getStore() ;
         this.request = new SDBRequest(store, query, context) ;
         this.originalOp = getOp() ;
-        // Enable transformations
+        // Enable transformations : use own choice of transformations.
+        // e.g. don't place filters
         // Op op = Algebra.optimize(originalOp, context) ;
         Op op = originalOp ;
         


Mime
View raw message