TIMESTAMP_MICROS
This page describes the TIMESTAMP_MICROS function in Lenses SQL.
TIMESTAMP_MICROS(micros)
Builds a timestamp-micros value from a long or int value.
Available in:
Sample code:
USE `kafka`;
SELECT
TIMESTAMP_MICROS(Timestamp),
Timestamp
FROM sea-vessel-position-reports
LIMIT 1;
Output:
{
"value": {
"TIMESTAMP_MICROS": "+49603-03-15T20:47:13.67939Z",
"Timestamp": "1503158676433679390"
}
}