Maddineni Sukumar created PHOENIX-3859:
------------------------------------------
Summary: Upsert Select is returning updated count is wrong if
overall count is more than configured batch size
Key: PHOENIX-3859
URL: https://issues.apache.org/jira/browse/PHOENIX-3859
Project: Phoenix
Issue Type: Bug
Affects Versions: 4.10.0
Reporter: Maddineni Sukumar
Assignee: Maddineni Sukumar
If I setup driver with below property
props.put(QueryServices.MUTATE_BATCH_SIZE_ATTRIB, Integert.toString(50));
And load more than 50 rows, for example 60 rows and then run below upsert
select query.
int count = conn.createStatement().executeUpdate("Upsert into TableA select *
from TableA");
Count comes as 120 instead of 60. If I increase batch size to more than 60 and
try then it gives proper result as 60.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)