Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurinehate committed Dec 23, 2024
1 parent b11c39e commit ccaa335
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def get_workunits_internal(self) -> Iterable[MetadataWorkUnit]:

schema_resolver = self.aggregator._schema_resolver

queries_extractor: SnowflakeQueriesExtractor = SnowflakeQueriesExtractor(
queries_extractor = SnowflakeQueriesExtractor(
connection=self.connection,
config=SnowflakeQueriesExtractorConfig(
window=self.config,
Expand Down Expand Up @@ -553,6 +553,8 @@ def get_workunits_internal(self) -> Iterable[MetadataWorkUnit]:
discovered_views=discovered_views,
)

# This would emit view and external table ddl lineage
# as well as query lineage via lineage_extractor
for mcp in self.aggregator.gen_metadata():
yield mcp.as_workunit()

Expand Down

0 comments on commit ccaa335

Please sign in to comment.