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, then reserialize the json with the new value, and the whole json object has the new timestamp or ttl. On Tue, Dec 3, 2019 at 10:02 AM Mark Furlong <[email protected]> wrote: > 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* > > > > > > We empower journeys of personal discovery to enrich lives > > > > >
