abhishekrb19 opened a new pull request, #19386:
URL: https://github.com/apache/druid/pull/19386

     Adds a `now()` expression macro to Druid's native expression. It returns 
the current system timestamp in milliseconds since epoch, evaluated per row at 
processing time. Intended primarily for ingestion-time troubleshooting - e.g.,
     capturing `now() - __time` as an ingestion_lag_ms dimension to measure 
end-to-end pipeline delay.
   
     Release note
   
     Added `now()` expression function that returns the current system 
timestamp in milliseconds since epoch. Useful at ingestion time for 
troubleshooting pipeline delays (e.g., now() - __time). Note: `now()` is 
non-deterministic and should not
     be used to overwrite `__time`. 
   
   This PR has:
   
   - [x] been self-reviewed.
   - [x] added documentation for new or modified features or behaviors.
   - [x] a release note entry in the PR description.
   - [x] added Javadocs for most classes and all non-trivial methods. Linked 
related entities via Javadoc links.
   - [x] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   - [x] been tested in a test Druid cluster.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to