Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use multiple statements instead of batches for multi-row operations in CassandraTemplate [DATACASS-289] #460

spring-projects-issues opened this issue May 21, 2016 · 1 comment
status: declined type: enhancement


Copy link

@spring-projects-issues spring-projects-issues commented May 21, 2016

Mark Paluch opened DATACASS-289 and commented

CassandraTemplate DML operations affecting multiple rows (e.g. insert(List<T> entities)) use Cassandra batches without the possibility of issuing just multiple inserts. Cassandra batches spread over multiple partition keys require the coordinator to manage the work. CassandraTemplate should perform multiple row operations issuing multiple commands as that is the most efficient way due to the distributed nature.

Issue Links:

  • DATACASS-288 Add support for Cassandra batch operations
    ("depends on")
  • DATACASS-350 Deprecate CassandraTemplate methods accepting collections of entities
    ("is superseded by")
Copy link

@spring-projects-issues spring-projects-issues commented Oct 21, 2016

Mark Paluch commented

Not going to implement this change. Multi-row operations pretend a functionality that just isn't supported by Cassandra. See See DATACASS-350

@spring-projects-issues spring-projects-issues added status: declined type: enhancement labels Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
status: declined type: enhancement
None yet

No branches or pull requests

2 participants