You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by el...@apache.org on 2018/07/25 22:34:59 UTC
[36/50] [abbrv] phoenix git commit: Revert "PHOENIX-4790 Addendum to
check that query is a point lookup for delete not to run query"
Revert "PHOENIX-4790 Addendum to check that query is a point lookup for delete not to run query"
This reverts commit ab930f49762e5ccf3f4ac108a2402552753f0d6a.
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/2b43bea0
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/2b43bea0
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/2b43bea0
Branch: refs/heads/master
Commit: 2b43bea01e6231ca675cc5d681aedb83daa3c1e0
Parents: f46e8bb
Author: James Taylor <ja...@apache.org>
Authored: Thu Jul 12 20:09:44 2018 -0700
Committer: James Taylor <ja...@apache.org>
Committed: Thu Jul 12 20:09:44 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/2b43bea0/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 34c1590..f4e8896 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
@@ -542,9 +542,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();