microsoft / microsoft/Dynamics-365-FastTrack-Implementation-Assets

FabricLink_SQLAnalyticsEndpoint - Sp need a fix or comment

Open
#367 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
494
Forks
296
Avg merge
1d 10h
Merged PRs (30d)
5

Description

The stored procedure has an issue for join_derived_tables section.
In this derived tables query section, 'WHERE TABLE_SCHEMA = @source_table_schema' should be used instead of 'WHERE TABLE_SCHEMA = @target_table_schema'. When @target_table_schema' is not equal to 'dbo', the other base tables which has 'dbo' schema as default fails.

https://github.com/microsoft/Dynamics-365-FastTrack-Implementation-Assets/tree/master/Analytics/DataverseLink/FabricLink_SQLAnalyticsEndpoint#a-create-stored-procedure-on-lakehouse-sql-analytics-endpoint

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the linked FabricLink_SQLAnalyticsEndpoint guide and locate the stored procedure's join_derived_tables section. Review how @source_table_schema and @target_table_schema are used in the derived-tables query. Done means the query uses the source schema filter and no longer fails for base tables using dbo when the target schema differs.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.