Skip to content

Commit

Permalink
fix(ingest/snowflake): further improve dot handling (#12110)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored Dec 12, 2024
1 parent d2eaf0c commit 4683bc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ def is_dataset_pattern_allowed(
) -> bool:
if not dataset_type or not dataset_name:
return True
dataset_params = dataset_name.split(".")
if dataset_type.lower() not in (
SnowflakeObjectDomain.TABLE,
SnowflakeObjectDomain.EXTERNAL_TABLE,
Expand All @@ -131,6 +130,7 @@ def is_dataset_pattern_allowed(
if _is_sys_table(dataset_name):
return False

dataset_params = _split_qualified_name(dataset_name)
if len(dataset_params) != 3:
self.structured_reporter.info(
title="Unexpected dataset pattern",
Expand Down

0 comments on commit 4683bc7

Please sign in to comment.