mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-27 09:58:14 +00:00
fix(ingest): snowflake-usage - log warning instead of error out (#4544)
This commit is contained in:
parent
ee0c931076
commit
94890c1e71
@ -341,7 +341,9 @@ class SnowflakeUsageSource(StatefulIngestionSourceBase):
|
||||
if not dataset_type or not dataset_name:
|
||||
return True
|
||||
dataset_params = dataset_name.split(".")
|
||||
assert len(dataset_params) == 3
|
||||
if len(dataset_params) != 3:
|
||||
self.warn(logger, "invalid-dataset-pattern", f"Found {dataset_params}")
|
||||
return False
|
||||
if not self.config.database_pattern.allowed(
|
||||
dataset_params[0]
|
||||
) or not self.config.schema_pattern.allowed(dataset_params[1]):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user