feat(ingest/powerbi): resolve Fabric SQL endpoints to OneLake lineage

BR
2h ago
+2151-65

Summary

  • A table (or Dataflow Gen2 entity) whose M query reads a Fabric Lakehouse or Warehouse through Sql.Database("<endpoint>.datawarehouse.fabric.microsoft.com", …), including native [Query=…] SQL, now gets its upstream on the OneLake table the OneLake connector emits, instead of a generic mssql dataset no connector produces. Applies in both metadata modes.
  • Endpoints that cannot be matched to a Lakehouse or Warehouse of the same workspace, or whose display name is ambiguous, keep the mssql edge and are warned. Unsupported shapes (Sql.Databases, navigation without Item) are warned.
  • Swapped OneLake edges are not subject to the deprecated dataset_type_mapping, same as DirectLake lineage.
  • Datamart, MirroredDatabase and SQLDatabase endpoints are left out because the OneLake connector does not emit those items.

Breaking change

The mssql upstream edges of Fabric SQL-endpoint queries move to OneLake. URN casing matches when OneLake runs with convert_urns_to_lowercase: true or Power BI with convert_lineage_urns_to_lowercase: false. See docs/how/breaking-changes.md.

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/)
  • Breaking change documented in docs/how/breaking-changes.md

🤖 Generated with Claude Code