Skip to content

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Zhang <[email protected]>
  • Loading branch information
kevjumba committed Apr 4, 2022
1 parent c0e0597 commit 0dca0ec
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions sdk/python/feast/infra/offline_stores/redshift_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,6 @@ def get_table_column_names_and_types(
assert isinstance(config.offline_store, RedshiftOfflineStoreConfig)

client = aws_utils.get_redshift_data_client(config.offline_store.region)
if not self.database:
warnings.warn(
(
"You are using redshift database name from your offline store config. Feast is deprecating this parameter soon in Feast 0.23."
"Please pass database name to RedshiftSource in your driver python file instead. "
),
DeprecationWarning,
)
if self.table is not None:
try:
table = client.describe_table(
Expand Down

0 comments on commit 0dca0ec

Please sign in to comment.