Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 25c7e5968 -> 766248ba9


Revert "PHOENIX-4790 Addendum to check that query is a point lookup for delete 
not to run query"

This reverts commit 2920dfa19101e395293460ae1e5575137c6628c9.


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

Branch: refs/heads/4.x-HBase-1.2
Commit: 3bfc2f656c2e3ab8b5c39bf1fe2bbd64dbe4f5ec
Parents: 25c7e59
Author: James Taylor <jamestay...@apache.org>
Authored: Thu Jul 12 20:01:21 2018 -0700
Committer: James Taylor <jamestay...@apache.org>
Committed: Thu Jul 12 20:01:21 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/3bfc2f65/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();

Reply via email to