How to use FORMAT_TIMESTAMP for converting rowtime to DATE?

Hello,

As TIMESTAMPTOSTRING is deprecated, trying to use suggested alternative FORMAT_TIMESTAMP for converting rowtime of record to respective Date.

But FORMAT_TIMESTAMP expects timestamp value and rowtime is bigint, I am unable to cast bigint to timestamp too.

Please help here.

Thanks

FROM_UNIXTIME is your friend: ksqlDB Scalar Functions - ksqlDB Documentation

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.