Jackie-Jiang commented on issue #4740: [New Transformation function] Presto 
compatible DateTrunc
URL: https://github.com/apache/incubator-pinot/pull/4740#issuecomment-547209660
 
 
   @agrawaldevesh I see where I was missing. So both the input and output 
values are unix time (in UTC), and we just want to truncate the time based on 
some timezone right?
   Then the current approach is good. My suggestion would be making timezone 
(default UTC), input granularity (default millis) and output granularity 
(default millis) optional. The function can take 2-5 arguments, and by default 
using UTC to truncate in millis.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to