Jaytimbadia7 opened a new issue, #13474:
URL: https://github.com/apache/druid/issues/13474

   Hey Druid! 
   
   We have a query written in SQL which contains LAG function. We need that 
query in Druid SQL. Can you please lead us? 
   
   Example SQL query: 
   
   ```
   SELECT
     time_col,
     id,
     (time_col - lag (time_col, 1) over ( partition by id order by time_col)) 
as time_elapsed
   FROM datatable
   ```
   
   Can you please let us know its Druid conversion?


-- 
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