Skip to content

CassandraAdminTemplate.createTable(…) does not apply table options #359

@spring-projects-issues

Description

@spring-projects-issues

Jens Rantil opened DATACASS-188 and commented

Thought I had reported this previously, but couldn't find any mention of it.

admin.createTable(false, entity.getTableName(), entity.getType(), null); // TODO: allow spec of table options
mentions a TODO for this, so it does not seem to be supported.

Specifically, I'd like to be able to set compaction strategy. This is a showstopper for us to use the SchemaActions functionality that Spring Data Cassandra comes with. Currently I have implemented table creation as a custom repository method.

Let me know if this is a duplicate of preexisting ticket


1 votes, 2 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions