From 64a4d115c53de4344ca169eb0cd5005909e4dfca Mon Sep 17 00:00:00 2001 From: Edgar Melendrez Date: Tue, 17 Sep 2024 13:54:49 -0700 Subject: [PATCH] [Docs] adding admonition for div (#17093) Co-authored-by: Victoria Lim --- 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 6859ca67391..3f45baab90b 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, ...)`