phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [36/50] [abbrv] phoenix git commit: Revert "PHOENIX-4790 Addendum to check that query is a point lookup for delete not to run query"
Date Wed, 25 Jul 2018 22:35:14 GMT
Revert "PHOENIX-4790 Addendum to check that query is a point lookup for delete not to run query"

This reverts commit 288322678de7e443f959f55eaab946716ca517d8.


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/164b2dac
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/164b2dac
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/164b2dac

Branch: refs/heads/4.x-HBase-1.4
Commit: 164b2dacb8b923d8fd5b4d9c2f4255fc99738ef1
Parents: 5d12cb5
Author: James Taylor <jamestaylor@apache.org>
Authored: Thu Jul 12 19:52:30 2018 -0700
Committer: James Taylor <jamestaylor@apache.org>
Committed: Thu Jul 12 19:53:22 2018 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/phoenix/compile/DeleteCompiler.java  | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/164b2dac/phoenix-core/src/main/java/org/apache/phoenix/compile/DeleteCompiler.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/compile/DeleteCompiler.java b/phoenix-core/src/main/java/org/apache/phoenix/compile/DeleteCompiler.java
index a214c24..78b2db9 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/compile/DeleteCompiler.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/compile/DeleteCompiler.java
@@ -541,9 +541,6 @@ public class DeleteCompiler {
         Iterator<QueryPlan> iterator = queryPlans.iterator();
         while (iterator.hasNext()) {
             QueryPlan plan = iterator.next();
-            // Must be a point lookup in order to not run a query since
-            // we have to have the full key be enumerated.
-            noQueryReqd &= plan.getContext().getScanRanges().isPointLookup();
             if (plan.getTableRef().getTable().getIndexType() == IndexType.LOCAL) {
                 if (!plan.getContext().getDataColumns().isEmpty()) {
                     iterator.remove();


Mime
View raw message