ROWTIME criteria and timestamp index

26 views
Skip to first unread message

Ratheesh Ramachandran

unread,
Jul 10, 2023, 10:28:47 AM7/10/23
to ksqldb-users
Hi,

If I query a stream using ROWTIME criteria, will ksqldb use broker's timestamp index ? 

> select ROWTIME, eventType from MY_EVENTS where ROWTIME > 1688635908983 limit 10

Thanks,
Ratheesh

Niels Berglund

unread,
Jul 11, 2023, 4:26:15 AM7/11/23
to Ratheesh Ramachandran, ksqldb-users
Hi!


Short summary, if you in your stream do not define a specific field for the timestamp, ROWTIME will be the ingestion time into the topic.

Niels


--
You received this message because you are subscribed to the Google Groups "ksqldb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ksql-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/ksql-users/7a06a860-33ef-4f38-a8f2-b95461176954n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages