In the current Cassandra JDBC implementation, Statement.getUpdateCount() always return 0 on successfully executed INSERT/UPDATE/DELETE statements. There is not much ADS can do at the moment because Cassandra server does not seem to return any related information back to client after INSERT/UPDATE/DELETE statements are executed.
This certainly will create some confusion for ADS users. For example, in Query Analyzer, after INSERT/UPDATE/DELETE statements are executed, the status message generated by ADS would be similar to the one shown below:
0 record(s) affected
[Executed: 5/30/2013 8:27:51 PM] [Execution: 0ms]
Users will not know how many records are actually affected.
We'll wait on customer feedback to see if this causes confusion and what we can do about it
Issue #9208 |
New |
Completion |
No due date |
No fixed build |
No time estimate |
1 issue link |
is a duplicate of #9197
Issue #9197result of insertion operation on cassandra reported improperly |
We'll wait on customer feedback to see if this causes confusion and what we can do about it