Skip to content

Commit

Permalink
fix: [sc-22517] Support "External Table" source for Snowflake streams (
Browse files Browse the repository at this point in the history
…#694)

* Allow stream source types EXTERNAL_TABLE and DIRECTORY_TABLE

* bump version
  • Loading branch information
usefulalgorithm authored Nov 21, 2023
1 parent 5956dd4 commit 9caae71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions metaphor/snowflake/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class SnowflakeTableType(Enum):
str_to_source_type: Dict[str, SnowflakeStreamSourceType] = {
"TABLE": SnowflakeStreamSourceType.TABLE,
"VIEW": SnowflakeStreamSourceType.VIEW,
"EXTERNAL_TABLE": SnowflakeStreamSourceType.TABLE,
"DIRECTORY_TABLE": SnowflakeStreamSourceType.TABLE,
}

str_to_stream_type: Dict[str, SnowflakeStreamType] = {
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.13.54"
version = "0.13.55"
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

0 comments on commit 9caae71

Please sign in to comment.