TimeBase CE Versions Save

High performance time series database

6.2.1

2 months ago

6.1.23

3 months ago

6.1.22

3 months ago

6.1.21

6 months ago

What's Changed

6.1.20

7 months ago

Fixed

OVER TIME QQL issues: https://github.com/finos/TimeBase-CE/discussions/255

Added

QQL Having Condition

HAVING can be used to filter results after GROUP BY or OVER TIME/COUNT. It can be useful for cases, if you need to filter a result but WHERE expression can affect this result.

Example:

WITH entries[this is TradeEntry] as 'entries'
SELECT first{}(entries[0].price) as 'open'
FROM "bitfinex"
OVER TIME(1m)
WHERE symbol == 'BTCUSD' AND notEmpty(entries) AND open is not null

In this case open expression is calculated during 'WHERE' expression (not after it!), so open will be calculated even if symbol is not 'BTCUSD' or entries are empty. This will lead to incorrect result.

WITH entries[this is TradeEntry] as 'entries'
SELECT first{}(entries[0].price) as 'open'
FROM "bitfinex"
OVER TIME(1m)
WHERE symbol == 'BTCUSD' AND notEmpty(entries)
HAVING open is not null

Another example:

SELECT count{}() as c 
FROM "bars" 
GROUP BY symbol 
HAVING close > 100

6.1.19

8 months ago
  • Fixed issue with OVER TIME(...) details

6.1.18

8 months ago

Changes:

6.1.17

9 months ago

Changes

  • Switched to Amazon Corretto with Alpine 3.17 as Base Docker Image
  • Corrected API to Select 'spaces' for the stream cursors.

6.1.16

10 months ago