Skip to content

Commit

Permalink
fix(ingestion/dremio): Fixed lineage view for dremio EE
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar-salvi-apptware committed Nov 29, 2024
1 parent a46de1e commit 7bbc4e3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,12 @@ def process_dataset(
):
yield dremio_mcp
# Check if the emitted aspect is SchemaMetadataClass
if isinstance(dremio_mcp.metadata, SchemaMetadataClass):
if isinstance(
dremio_mcp.metadata, MetadataChangeProposalWrapper
) and isinstance(dremio_mcp.metadata.aspect, SchemaMetadataClass):
self.sql_parsing_aggregator.register_schema(
urn=dataset_urn,
schema=dremio_mcp.metadata,
schema=dremio_mcp.metadata.aspect,
)

if dataset_info.dataset_type == DremioDatasetType.VIEW:
Expand Down

0 comments on commit 7bbc4e3

Please sign in to comment.