one table NAME got renamed in the database and when I refresh structure in Data foundation(IDT) for that table then whole table will be get deleted as existing table don’t recognize the new table name from database.
when I try to rename table in data foundation, getting “Renaming the table in data foundation may cause errors in data foundation(Invalid Join SQL, or errors when viewing table data)”.
Agree. Refreshing the structure in IDT will work but it doesn’t work for me.Not sure, if anyone faces same issue before. We are on 4.1sp6.
If I delete the table and insert again, then my understanding is:
I need to define the mapping of new table added with existing tables.
In Business Layer, since I deleted the old table in DF, dimensions columns wont work as there is no table available in DF pointing to old table. Then, I believe, reports pointing to this old table throw error at report level.
I need to add new table from DF to BL and make the necessary changes to calculated columns and at report level as well.
You should right-click the table, select replace by -> database table and pick the new table. Yes, a table with a different name is a new table. The IDT does not keep tack of tables by other thing than their names.
If I’m Replacing existing table with new database table, a message showing as ‘All business layer items referencing this table will need to be manually updated.’. Look like this require manually efforts to update fields in business layer along with conditional objects if any.
I’ve seen that error, but the table names in the BL were renamed correctly. I did have to save the DF, then close and reopen the BL, but when I did that the changes were done as expected.
I’ve come across a situation where I need to replace one table with another (same table format, different content), but this method does not work for me. I get ‘unresolved table’ populated into all of my dependent dimensions.
If you’ve a backup Universe, use it, follow the below steps, and hopefully you’ll get it resolved easily.
1. DON’T DELETE the table (with old name) from Data Foundation Layer DFX while refreshing the table structure.
Add the new table (renamed table rather) to the DFX
Follow my blog to update the Table name in Dimensions (Select clause) / Filters (Where Clause) and/or other Case statements. Please look at the items 6, 10, 13, 16 in “Below things in Business Layer.” Also, at the items 4 & 7 in, “And below things in Data Foundation Layer”.