• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Updating tMaps after updating output schemas

#1 2010-05-15 06:09:41

recent!
Member
Registered: 2009-04-30
Posts: 13

Updating tMaps after updating output schemas

Tags: [schema, sync]

I recently updated my Metadata schemas for all 800+ tables for my Postgres output database. This went through and autoupdated all tables, but now when I run a job I get an error because the output schema is now different than the one in the tMap. I know you can hit Sync Columns in the output component to copy the tMap's schema to the output, but am not sure how to do it in reverse (copy output schema to the tMap) without adding them manually or remapping the tMap (not an option, as there are over 100 jobs each with multiple outputs).

How can I update the tMap output link schemas to match the newly updated output schemas?

Any help or references would be greatly appreciated.

Thanks,
Phil


Uploaded Images

Offline

#2 2010-05-17 03:58:12

shong
Talend team
Registered: 2007-08-29
Posts: 10305
Website

Re: Updating tMaps after updating output schemas

Hello
At the moment, it is impossible to do reverse 'sync columns' action from output schema to input schema.

Best regards
Shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2010-05-17 09:47:29

alevy
Member
Registered: 2009-11-20
Posts: 1486

Re: Updating tMaps after updating output schemas

shong's response is not entirely true.  You can go into the schema of the component following the tMap and "push" the schema of that component into the tMap using the double left yellow arrow between the schemas.  The expressions in the tMap will not be lost if the column names don't change.

Offline

#4 2010-05-17 10:14:54

shong
Talend team
Registered: 2007-08-29
Posts: 10305
Website

Re: Updating tMaps after updating output schemas

Hello alevy
thank you for correcting me!here I just post a screenshot to explain alevy's response.

Best regards
Shong


Uploaded Images


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#5 2010-05-17 10:26:55

bazinou
Member
Company: DISTRILOG
Registered: 2009-07-20
Posts: 18
Website

Re: Updating tMaps after updating output schemas

You can also recreate the output link, so it will be automaticily updated :
- Select the output arrow and remove it (only the link is removed, the output is memorized in tMap).
- Then right click on tMap, and select line to do a new output, you will see the name of the output you have just removed. Select it and point to your output. Then it will ask you if you want to get the ouput shema. Say yes, and it's ok.

Offline

#6 2010-05-17 17:53:48

recent!
Member
Registered: 2009-04-30
Posts: 13

Re: Updating tMaps after updating output schemas

Thank you for your suggestion Alevy. I will likely use this option whenever I have a specific need to update a table schema, otherwise I think I will leave everything as is (instead of doing this for 100+ jobs, each of which can have up to 30 output schemas). I've been updating schemas only when necessary so far, so am fine to continue this, and this method will be helpful to easily update the tMap from the output.

Thanks again,
Phil

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Updating tMaps after updating output schemas

Board footer

Powered by FluxBB