Skip to content
#

tsdb

Here are 89 public repositories matching this topic...

questdb
ysdede
ysdede commented Dec 16, 2021

Describe the bug

QuestDB throws an error if my query returns 0 rows when using SAMPLE BY. It works fine and responds 0 row found without SAMPLE BY.

My query (I run it on QuestDB web console directly)

SELECT ts, pair, side, round(nsum(size)) as size
FROM liquidations
WHERE pair = 'ETC-USDT-PERP' and side = 'sell' and size > 500
SAMPLE BY 1m
ALIGN TO CALENDAR WITH OFFSET '00:00'

Improve this page

Add a description, image, and links to the tsdb topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tsdb topic, visit your repo's landing page and select "manage topics."

Learn more