on 10-01-2014 5:54 AM
Hi Guys,
I have a loop in my Universe involving 6 tables. In the integrity check, it says that the loop can only be resolved by an alias.
My question is - does is matter where I insert the alias table to break the loop? How does one decide which table join to break and insert the alias?
A good excample for Alias is if the same table plays different roles.
For instanse the customer dimension.
It could be both sold-to-party and send-to-party.
Or date. Orderdate, deliverydate.
The SQL will then treat the tables as different tables, and your loop will be solved.
Hope this helps you a bit.
Ingrid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please go to below link which shows an example demonstrating how to solved loop.
Understanding Loops and its Resolution Technique in Universe
In the post you can see alias is created for country table as country table can play different roles.So in the same way, you have to understand your tables and situation, And identify which table is playing different role and then you can decide to create a alias of the same table.
Let me know if any doubt.
Hi
Alias:
Alias is logical pointers to an alternate table name
Whenever a SQL script needs to access the same table more than once an alias is used.
Can you provide your screenshot of your loop related tables.
Note: PLEASE mark blog as helpful & answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.