From e4f04a5cc352ff483b42b62f1edfd0ae825b499d Mon Sep 17 00:00:00 2001 From: Claus Herther Date: Sun, 11 Jul 2021 06:15:19 -0600 Subject: [PATCH] Add support for Redshift random function (#92) --- macros/math/rand.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/macros/math/rand.sql b/macros/math/rand.sql index e5f5922..e708318 100644 --- a/macros/math/rand.sql +++ b/macros/math/rand.sql @@ -26,3 +26,8 @@ {%- endmacro -%} +{% macro redshift__rand() %} + + random() + +{%- endmacro -%}