[Backport] DIV not implemented in Druid 30 and earlier (#17095)

Co-authored-by: Edgar Melendrez <evmelendrez@gmail.com>
This commit is contained in:
Victoria Lim 2024-09-26 10:03:57 -07:00 committed by GitHub
parent a0c842e98b
commit bcc3da6f98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -564,6 +564,10 @@ Returns the rank for a row within a window without gaps. For example, if two row
Returns the result of integer division of `x` by `y`. Returns the result of integer division of `x` by `y`.
:::info
The `DIV` function is not implemented in Druid versions 30.0.0 or earlier. Consider using [`SAFE_DIVIDE`](./sql-functions.md#safe_divide) instead.
:::
## DS_CDF ## DS_CDF
`DS_CDF(expr, splitPoint0, splitPoint1, ...)` `DS_CDF(expr, splitPoint0, splitPoint1, ...)`