friends
I am design a message history table
CREATE TABLE message_history (
user_name text PRIMARY KEY,
time timestamp,
message_details list<text>,
);
so that I can query a user's message via primary key user_name at once.
but the item in message_details list may be very long so that I want to limit the list size of the message_details list.
cause I just want care the latest, say, 1000 messages of a user.
can I achieve this?
thx!