From dd7e24c2e46ae7ccb4139eabda6d1ce150c5123a Mon Sep 17 00:00:00 2001 From: Christophe Duong Date: Mon, 5 Apr 2021 20:31:40 +0200 Subject: [PATCH] Postgres also have an alternative concat binary operation (#296) --- macros/cross_db_utils/concat.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/macros/cross_db_utils/concat.sql b/macros/cross_db_utils/concat.sql index 32443cbd..b75650b0 100644 --- a/macros/cross_db_utils/concat.sql +++ b/macros/cross_db_utils/concat.sql @@ -13,6 +13,11 @@ {% endmacro %} +{% macro postgres__concat(fields) %} + {{ dbt_utils.alternative_concat(fields) }} +{% endmacro %} + + {% macro redshift__concat(fields) %} {{ dbt_utils.alternative_concat(fields) }} {% endmacro %}