You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by vi...@apache.org on 2024/09/17 20:54:55 UTC

(druid) branch master updated: [Docs] adding admonition for div (#17093)

This is an automated email from the ASF dual-hosted git repository.

victoria pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 64a4d115c53 [Docs] adding admonition for div (#17093)
64a4d115c53 is described below

commit 64a4d115c53de4344ca169eb0cd5005909e4dfca
Author: Edgar Melendrez <ev...@gmail.com>
AuthorDate: Tue Sep 17 13:54:49 2024 -0700

    [Docs] adding admonition for div (#17093)
    
    Co-authored-by: Victoria Lim <vt...@users.noreply.github.com>
---
 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, ...)`


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org