-
Notifications
You must be signed in to change notification settings - Fork 25
9.1.0 release roundup #246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🚀 Build success! Latest successful preview: https://preview-246--questdb-documentation.netlify.app/docs/ Commit SHA: 7c1b397
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice. Left a few comments
You can work around this limitation by using CTEs or subqueries: | ||
|
||
```questdb-sql | ||
-- CTE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we make this query demoable or is it too much in an info block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add the demo tag, we can see how it looks
| :--------------- | | ||
| 49.5442334742831 | | ||
|
||
## mode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please, move before nsum
to keep alphabetical order
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought this originally too, but we don't respect alphabetical order - for example first
/last
is a single entry. I'm all in favour for splitting them and making them alphabetical though. Ideally we need a smarter sort by usage i.e. predicate aggregates (first/last/min/max) versus reducation aggregate (sum, avg etc.)
| A | alpha | | ||
| B | beta | | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a demoable query? this one is nice
select symbol, mode(price)
from trades
where timestamp in today()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps mode(price) is not ideal, because of precision. Maybe mode(side) i.e. were there more buys and sells for each symbol?
Closes #170