Skip to content

Commit

Permalink
Skip redshift system database (#963)
Browse files Browse the repository at this point in the history
* Skip sys:internal database

* Bump version
  • Loading branch information
elic-eon authored Aug 23, 2024
1 parent c350363 commit 71fff35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metaphor/redshift/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from metaphor.common.filter import DatasetFilter

IGNORED_DATABASES = ["padb_harvest", "temp", "awsdatacatalog"]
IGNORED_DATABASES = ["padb_harvest", "temp", "awsdatacatalog", "sys:internal"]


def exclude_system_databases(filter: DatasetFilter) -> DatasetFilter:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "metaphor-connectors"
version = "0.14.86"
version = "0.14.87"
license = "Apache-2.0"
description = "A collection of Python-based 'connectors' that extract metadata from various sources to ingest into the Metaphor app."
authors = ["Metaphor <[email protected]>"]
Expand Down
1 change: 1 addition & 0 deletions tests/redshift/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ def test_exclude_system_databases():
"padb_harvest": None,
"temp": None,
"awsdatacatalog": None,
"sys:internal": None,
},
)

0 comments on commit 71fff35

Please sign in to comment.