Skip to content

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

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

Closed
spring-projects-issues opened this issue Dec 2, 2014 · 1 comment
Labels
type: bug A general bug

Comments

@spring-projects-issues
Copy link

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

@spring-projects-issues spring-projects-issues added the type: enhancement A general enhancement label Dec 31, 2020
@mp911de mp911de added type: bug A general bug and removed type: enhancement A general enhancement labels Jun 7, 2023
@mp911de mp911de changed the title Support table options when creating tables [DATACASS-188] CassandraAdminTemplate.createTable(…) does not apply table options Jun 7, 2023
@mp911de mp911de added this to the 3.4.13 (2021.2.13) milestone Jun 7, 2023
mp911de pushed a commit that referenced this issue Jun 7, 2023
mp911de pushed a commit that referenced this issue Jun 7, 2023
See: #359
Original pull request: #1385
mp911de added a commit that referenced this issue Jun 7, 2023
Add Javadoc. Reformat code.

See: #359
Original pull request: #1385
mp911de pushed a commit that referenced this issue Jun 7, 2023
mp911de pushed a commit that referenced this issue Jun 7, 2023
See: #359
Original pull request: #1385
mp911de added a commit that referenced this issue Jun 7, 2023
Add Javadoc. Reformat code.

See: #359
Original pull request: #1385
@mp911de
Copy link
Member

mp911de commented Jun 7, 2023

Thank you for your contribution. That's merged, polished, and backported now.

@mp911de mp911de closed this as completed Jun 7, 2023
@mp911de mp911de closed this as completed in cd444b2 Jun 7, 2023
mp911de pushed a commit that referenced this issue Jun 7, 2023
See: #359
Original pull request: #1385
mp911de added a commit that referenced this issue Jun 7, 2023
Add Javadoc. Reformat code.

See: #359
Original pull request: #1385
mp911de pushed a commit that referenced this issue Jun 7, 2023
mp911de added a commit that referenced this issue Jun 7, 2023
Add Javadoc. Reformat code.

See: #359
Original pull request: #1385
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants