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

(druid) branch 31.0.0 updated: [Backport] DIV not implemented in Druid 30 and earlier (#17095)

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

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


The following commit(s) were added to refs/heads/31.0.0 by this push:
     new bcc3da6f98b [Backport] DIV not implemented in Druid 30 and earlier (#17095)
bcc3da6f98b is described below

commit bcc3da6f98be427b1bcda1fbd1a6c996b4269c74
Author: Victoria Lim <vt...@users.noreply.github.com>
AuthorDate: Thu Sep 26 10:03:57 2024 -0700

    [Backport] DIV not implemented in Druid 30 and earlier (#17095)
    
    Co-authored-by: Edgar Melendrez <ev...@gmail.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 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, ...)`


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