From bcc3da6f98be427b1bcda1fbd1a6c996b4269c74 Mon Sep 17 00:00:00 2001 From: Victoria Lim Date: Thu, 26 Sep 2024 10:03:57 -0700 Subject: [PATCH] [Backport] DIV not implemented in Druid 30 and earlier (#17095) Co-authored-by: Edgar Melendrez --- docs/querying/sql-functions.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/querying/sql-functions.md b/docs/querying/sql-functions.md index 5cdcbb25495..efc7bf51764 100644 --- a/docs/querying/sql-functions.md +++ b/docs/querying/sql-functions.md @@ -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`. +:::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(expr, splitPoint0, splitPoint1, ...)`