feat(ingest/powerbi): link composite-model remote tables to their source semantic model

BR
10d ago
+2448-57

Summary

Behind extract_composite_model_lineage (default false):

  • Parses AnalysisServices.Database("powerbi://api.powerbi.com/…/<workspace>", "<model>") DirectQuery-to-Power-BI expressions (new rest_api_wrapper/composite_model.py); other Analysis Services servers become plain DirectQuery tables with no edge.
  • Resolves the source model by dataset id, or by workspace and model name through a run-wide index; ambiguous names (duplicates within or across workspaces) produce a Composite Model Source Ambiguous warning and no edge.
  • Emits table-level lineage to the source model's table (same URN the source model emits) and column-level lineage matched on sourceColumn.
  • Misses are split into composite_model_sources_not_ingested, composite_model_source_tables_not_found, composite_model_columns_unresolved, each with a warning.
  • Flag-independent fixes: dataset ids are matched case-insensitively in the dataset registry, and quoted DirectLake entityName values are unquoted (DirectLake lineage now resolves for table names with spaces).

Stack

Part of a stack built on #20842 (Power BI metadata_api_mode: workspace_apis). Merge order:
#20876 → #20877 → #20878 → #20879 → #20880 → #20881 → #20882 → #20883 → #20884 → #20885.
Review this PR's own diff against its base branch; each layer is self-contained and tested on its own.

Checklist

  • PR title follows the Conventional Commits format
  • Tests added/updated (unit and integration goldens)
  • Docs updated (metadata-ingestion/docs/sources/powerbi/)
  • No breaking change (opt-in flag, default off)

🤖 Generated with Claude Code