virajjasani commented on code in PR #1985:
URL: https://github.com/apache/phoenix/pull/1985#discussion_r1791011606
##########
phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java:
##########
@@ -755,6 +758,18 @@ public Pair<Integer, Tuple> call() throws SQLException {
}
}
+ private static boolean isSingleRowUpdate(boolean isUpsert, boolean
isDelete,
+ MutationPlan plan) {
+ boolean isSingleRowUpdate = false;
+ if (isUpsert) {
+ isSingleRowUpdate = true;
+ } else if (isDelete) {
+ isSingleRowUpdate =
+ plan.getContext().getScanRanges().isPointLookup();
Review Comment:
That is correct. Only if single key point lookup is used with auto-commit
and the new JDBC API, only then the attribute will be sent.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]