Re: TTL on UDT

2019-12-09 Thread Carl Mueller
ion, thus > applying ttl() on them makes sense. I'm not sure however if the CQL parser > allows this syntax > > On Mon, Dec 9, 2019 at 9:13 PM Carl Mueller > wrote: > >> I could be wrong, but UDTs I think are written (and overwritten) as one >> unit, so the notion of a TT

Re: TTL on UDT

2019-12-09 Thread DuyHai Doan
On Mon, Dec 9, 2019 at 9:13 PM Carl Mueller wrote: > I could be wrong, but UDTs I think are written (and overwritten) as one > unit, so the notion of a TTL on a UDT field doesn't exist, the TTL is > applied to the overall structure. > > Think of it like a serialized json objec

Re: TTL on UDT

2019-12-09 Thread Carl Mueller
I could be wrong, but UDTs I think are written (and overwritten) as one unit, so the notion of a TTL on a UDT field doesn't exist, the TTL is applied to the overall structure. Think of it like a serialized json object with multiple fields. To update a field they deserialize the json

TTL on UDT

2019-12-03 Thread Mark Furlong
When I run the command 'select ttl(udt_field) from table; I'm getting an error 'InvalidRequest: Error from server: code=2200 [Invalid query] message="Cannot use selection function ttl on collections"'. How can I get the TTL from a UDT field? Mark Furlong [cid:image001.png@01D5A92