From 1fe057da29102e4da206f9f1726e0a66b7618a2b Mon Sep 17 00:00:00 2001 From: swanderz Date: Tue, 2 Nov 2021 21:34:08 -0700 Subject: [PATCH] from https://github.com/dbt-labs/dbt-core/pull/4076 --- dbt/adapters/firebolt/relation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dbt/adapters/firebolt/relation.py b/dbt/adapters/firebolt/relation.py index d1c905593..07da3d171 100644 --- a/dbt/adapters/firebolt/relation.py +++ b/dbt/adapters/firebolt/relation.py @@ -64,8 +64,10 @@ def matches( if not self._is_exactish_match(k, v): exact_match = False - if self.path.get_lowered_part(k) != v.lower(): - approximate_match = False + if ( + self.path.get_lowered_part(k).strip(self.quote_character) != + v.lower().strip(self.quote_character) + ): if approximate_match and not exact_match: target = self.create(