Skip to content

Add missing TableOptions #1584

Closed
Closed
@seungh0

Description

@seungh0

Hello,

I'd like to propose extending CassandraAdminTemplate to support additional table options, such as default_time_to_live.

For example, the following code currently results in an error:

cassandraAdminTemplate.createTable(false, Table::class.java, mapOf("default_time_to_live" to 180000))

// -> Unable to recognize specified Table option 'default_time_to_live'

Additionally, it seems that several valid table options are not currently recognized:

  • default_time_to_live
  • speculative_retry
  • memtable_flush_period_in_ms
  • cdc
  • read_repair
  • min_index_interval
  • max_index_interval
  • crc_check_chance

These options are documented in the official Cassandra documentation:

Supporting these options in CassandraAdminTemplate would enable developers to define more fine-grained table configurations programmatically, aligning better with native CQL capabilities and increasing flexibility in schema management.

I'm happy to submit a PR if this change aligns with the project's direction.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions