You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We indeed do not propagate the TTL if it is zero. We need to represent an absent TTL in contrast to a zero-ttl. Probably, if we make TTL nullable, we can represent absence of a TTL specification.
Do you see any alternative currently? besides writing the statement.
We have an use case where the table has a default ttl and we want to alter that at insert based on certain conditions
mp911de
changed the title
Ttl 0 not added to insert statement
TTL 0 (zero) not added to INSERT statement
Nov 15, 2024
ttl 0 not working anymore when inserting
cassandraTemplate.insert(entity, InsertOptions.builder().ttl(0).build())
QueryOptionsUtil.addWriteOptions seems to be used and it ignores the ttl as it validates it to be !zero.
The text was updated successfully, but these errors were encountered: