Commit 25a9f75 1 parent 7a6cd88 commit 25a9f75 Copy full SHA for 25a9f75
File tree 1 file changed +4
-1
lines changed
metadata-ingestion/src/datahub/ingestion/source/snowflake
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -550,10 +550,11 @@ def get_workunits_internal(self) -> Iterable[MetadataWorkUnit]:
550
550
len (discovered_tables ) == 0
551
551
and len (discovered_views ) == 0
552
552
and len (discovered_streams ) == 0
553
+ and not self .config .allow_empty_schemas
553
554
):
554
555
self .structured_reporter .failure (
555
556
GENERIC_PERMISSION_ERROR_KEY ,
556
- "No tables/views/streams found. Please check permissions." ,
557
+ "No tables/views found and allow_empty_schemas is false . Please check permissions." ,
557
558
)
558
559
return
559
560
@@ -732,6 +733,8 @@ def get_snowsight_url_builder(self) -> Optional[SnowsightUrlBuilder]:
732
733
return None
733
734
734
735
def is_standard_edition (self ) -> bool :
736
+ if self .config .skip_standard_edition_check :
737
+ return False
735
738
try :
736
739
self .connection .query (SnowflakeQuery .show_tags ())
737
740
return False
You can’t perform that action at this time.
0 commit comments