From 62d2bdcb901fd521305cab30f5b5894c0560b4ca Mon Sep 17 00:00:00 2001 From: Luis Paolini <paoliniluis@gmail.com> Date: Fri, 9 Feb 2024 12:39:23 -0300 Subject: [PATCH] Remove impersonation feature from Redshift driver (#38393) --- modules/drivers/redshift/src/metabase/driver/redshift.clj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/drivers/redshift/src/metabase/driver/redshift.clj b/modules/drivers/redshift/src/metabase/driver/redshift.clj index ecf9c580cec..5d81a1b0793 100644 --- a/modules/drivers/redshift/src/metabase/driver/redshift.clj +++ b/modules/drivers/redshift/src/metabase/driver/redshift.clj @@ -32,8 +32,10 @@ (driver/register! :redshift, :parent #{:postgres ::sql-jdbc.legacy/use-legacy-classes-for-read-and-set}) -(doseq [[feature supported?] {:test/jvm-timezone-setting false - :nested-field-columns false}] +(doseq [[feature supported?] {:test/jvm-timezone-setting false + :nested-field-columns false + :connection-impersonation false + :connection-impersonation-requires-role false}] (defmethod driver/database-supports? [:redshift feature] [_driver _feat _db] supported?)) ;;; +----------------------------------------------------------------------------------------------------------------+ -- GitLab