-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[YCQL] Selecting TTL values for collections/UDTs must be supported #10153
Comments
Cassandra 3.0 only supports frozen UDTs
So there is no question of setting TTLs at individual element level in a UDT. Hence no question of what it'll do when each element has a different TTL and you ask for the TTL at the UDT level. @nocaway @kmuthukk Also C* doesn't support asking for TTL at element level in a UDT.
|
@aravind-nallan-yb As far as I remember, it is intentional that we don't allow the ttl() function on collections because different elements in a collection could have different TTLs. Some notes:
To go back to the original question on retrieving the TTL using the
As you can see the ttl for the single value and the frozen collection (also encoded as a single value) is as expected. @aravind-nallan-yb Maybe I misunderstood or misremembered something above. Could you verify if the above makes sense? |
Jira Link: DB-868
The text was updated successfully, but these errors were encountered: