Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update get_derivetables.sql #325

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

briandpolk
Copy link

When trying this script against AxDB, we included a lengthy list of potential parent tables because we did not know what other tables besides DirPartyTable we'd need to worry about using synapse link. In doing so, we noticed duplication in the output of the columns included in some of the view definitions. When selecting DirOrganizationBase as an example, the view definition for DirPartyTable experienced the duplication. I implemented an additional CTE pull a distinct table/col mapping from the recursive CTE output to mitigate the duplication.

@briandpolk
Copy link
Author

briandpolk commented Apr 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant