I have created a custom module using the migration module.
I have created a separate table where i store all the data for the migration.
The terms are in a field in this format using a comma separator: Term,Sub Term, Sub Sub Term, ETC
Usually there is a 4-5 Term hierarchy.
I need to import them into a vocabulary using that format and after that assign them to the imported nodes.
I have tried to option to only select the last subterm, it imported it ok, the only problem is when you have 2 terms with the same name but distinct parent.