Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
marcel_olmo
Partner Ambassador
Partner Ambassador

Deleting mapping tables question

Hi guys,

I've always thought that the mapping tables are automatically deleted after reloading the document, but I have a qlikview document with  several millions of rows, and plenty of mapping tables.

If I use the mapping tables, the document gets almost the double of the space.

Is there any way to check if a mapping table was completely deleted?

Regards, Marcel.

6 Replies
christian77
Partner - Specialist
Partner - Specialist

Hi Marcel.

I don't think you need to check, they do get deleted after reload.

If mapping tables were there, your model would be screwed up.

Use a system table to verify.

Salutes.

christian77
Partner - Specialist
Partner - Specialist

Hi again.

You can set some drop statements at the end. If they work, maps were still there, otherwise the weren't.

israrkhan
Specialist II
Specialist II

mapping tables get deleted automatically, you do not need to worry about.

and the only way you can check, in table viewer, weather they are there are not.

Bill_Britt
Former Employee
Former Employee

If your mapping tables are still there, you have done something wrong in the Script.

Quarters_Map:

Mapping LOAD
rowno() as Month,
'Q' &
Ceil(rowno()/3) as Quarter
Autogenerate(12);

The above will be dropped after the script runs, even if it isn't used.

BIll

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
salto
Specialist II
Specialist II

Have you checkd if you have synthetic keys or any other reason for the space growth? I also agrre with the rest of colleagues that mapping tables are deleted after reload (they, and their fields, do not appear in the table viewer)

Regards!

jvitantonio
Luminary Alumni
Luminary Alumni

Hi Marcelo,

Make sure you add the "Mapping" statement before the Load statement. This will be recognized by Qlikview as a mapping table and will be automatically deleted.

JV

BI Experience | A place to share our Business Intelligence experiences