From 4d3e999f1167ad669d0f372d96854bb67591b83a Mon Sep 17 00:00:00 2001 From: graciegoheen Date: Mon, 10 Jan 2022 13:13:13 -0500 Subject: [PATCH] add distinct to prevent unnecessary duplicates --- macros/get_dependencies.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/get_dependencies.sql b/macros/get_dependencies.sql index 6117b491..d10d2993 100644 --- a/macros/get_dependencies.sql +++ b/macros/get_dependencies.sql @@ -61,7 +61,7 @@ all_relationships as ( -- anchor - select + select distinct model as parent, model as child, 0 as distance,