Issue while selecting messages in Reverse Order along with 'Over Time' function #251
-
Hello, Below are queries, I am hitting via Timebase shell.
Below is our original query which we are hitting to get messages in reverse chronological order which are rolled up over 1 min. Working query without REVERSE: Non working query with REVERSE: Could you please help to resolve above issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I will push a fix today |
Beta Was this translation helpful? Give feedback.
-
Hi @alex-karpovich When I execute below query on Timebase shell then query returning messages with first record over specific time interval (ex: 1Min) instead of last.
If we consider first record select first{} (bid_price) as bid_price, timestamp as timestampOg, level from REVERSE(order_book_depth) over TIME (1m) where timestamp < 1661411100000 AND SYMBOL IN ('EURUSD') GROUP BY level limit 20 Could you please help? |
Beta Was this translation helpful? Give feedback.
@bardale
instead of using
timestamp as timestampOg
you have to uselast{} (timestamp) as timestampOg
orfirst{} (timestamp) as timestampOg