Skip to content

Commit

Permalink
fix(ingestion/dremio): Fixed lineage view for dremio EE (datahub-proj…
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar-salvi-apptware authored and sleeperdeep committed Dec 17, 2024
1 parent 6431ad9 commit 22989a9
Show file tree
Hide file tree
Showing 2 changed files with 1,423 additions and 675 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,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
Loading

0 comments on commit 22989a9

Please sign in to comment.