Hi, I want to catch delayed message and I need a condition like below.
CREATE STREAM delayed_messages AS
SELECT
...
FROM messages m
WHERE m.status = 'PENDING' AND ROWTIME < NOW() - 24 HOURS
EMIT CHANGES;
I’ve checked the documentation but I could not find anything to solve my problem.