Apache Pinot Docs
Search…
latest
now
This section contains reference documentation for the now function.
Return current time as epoch millis.

Signature

now()

Usage Examples

1
select now() AS now
2
FROM ignoreMe
Copied!
now
1639150454255
This function is typically used in predicate to filter on timestamp for recent data. e.g. filter data on recent 1 day(86400 seconds)
1
SELECT *
2
FROM tableName
3
WHERE tsInMillis > now() - 86400000
Copied!
Last modified 1mo ago
Copy link