tkhurana commented on code in PR #2008: URL: https://github.com/apache/phoenix/pull/2008#discussion_r1840900596
########## phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java: ########## @@ -647,7 +657,9 @@ public Pair<Integer, Tuple> call() throws SQLException { lastState.getUpdateCount()); Result result = null; if (connection.getAutoCommit()) { - if (isSingleRowUpdatePlan(isUpsert, isDelete, plan)) { + boolean singleRowUpdate = isSingleRowUpdatePlan(isUpsert, Review Comment: You can enhance this method and check if the plan is ServerSelectDeleteMutationPlan and modify its scan. All the other checks like autocommit and row count are also happening already. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@phoenix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org