From 1621ad4563847eb152e0f18047958020aadd8b8f Mon Sep 17 00:00:00 2001 From: Nathan Villaescusa Date: Mon, 22 Apr 2024 12:00:02 -0700 Subject: [PATCH] Remove panics --- clients/bigquery/bigquery.go | 3 --- clients/mssql/store.go | 3 --- 2 files changed, 6 deletions(-) diff --git a/clients/bigquery/bigquery.go b/clients/bigquery/bigquery.go index a9207c548..bc668c724 100644 --- a/clients/bigquery/bigquery.go +++ b/clients/bigquery/bigquery.go @@ -112,9 +112,6 @@ func (s *Store) Label() constants.DestinationKind { } func (s *Store) ShouldUppercaseEscapedNames() bool { - if s.config.SharedDestinationConfig.UppercaseEscapedNames { - panic("UppercaseEscapedNames is not supported for BigQuery") - } return false } diff --git a/clients/mssql/store.go b/clients/mssql/store.go index b08c8bd14..17970eb52 100644 --- a/clients/mssql/store.go +++ b/clients/mssql/store.go @@ -35,9 +35,6 @@ func (s *Store) Label() constants.DestinationKind { } func (s *Store) ShouldUppercaseEscapedNames() bool { - if s.config.SharedDestinationConfig.UppercaseEscapedNames { - panic("UppercaseEscapedNames is not supported for MSSQL") - } return false }