-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Druid SQL - natively support mathematical functions ROUND(), RADIANS(), EXP(), LN(), POWER(), RAND() #8661
Comments
Hi @ntkawasaki, Druid does support all of those functions today except I raised an issue specifically for Btw, we deprecated and removed |
Thanks @gianm Made a Druid 0.15 database and its all good: We can come up with a workaround for RAND() until thats native in Druid. |
This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions. |
This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time. |
Description
Currently these widely known mathematical operations are not officially implemented by Druid SQL:
Similar error for all.
These functions used to work in Druid version 0.10 when the
useFallback
option existed, calcite had a way to call these. However it looks like this parameter has been deprecated since 0.15: c648775 and #7567The docs here claim that these functions do exist: https://druid.apache.org/docs/latest/querying/sql#numeric-functions
However I believe these are out of date, or had been written at an earlier time/version when
useFallback
was being used and they were callable.Motivation
These would be useful for Business Intelligence applications connecting to Druid SQL clusters, and are very well known operations for any numeric data.
The text was updated successfully, but these errors were encountered: