• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Organize job and metadata for quick changes schemas

#1 2011-12-09 19:41:42

ustas
New member
Registered: 2011-01-21
Posts: 4

Organize job and metadata for quick changes schemas

I have a project where database's schemas (tables,columns) changed almost two weeks .Amount of tables in each version - about 250-300. For adapt  each new version of database to production  I spend very much time to change declaration of table's schemas of each job's input-component.
What is the right method for use metadata and schema? This problem tested on TOS v5.0 and v4.1 where metadata changes supported by retrieve schema, but it is does not work!(BUG?).
I think it is not related to type of database (in my case Oracle 11g)
Give me any tip , please.

Offline

#2 2011-12-12 02:13:29

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

Re: Organize job and metadata for quick changes schemas

Hi
You need to retrieve the schema again in metadata if the table already changes. In the job, each input component use the metadata schema, the changes will be populated automatically into the job once the schema is updated in metadata. If it is not updated even though you have clicked on the the 'retrieve schema' button, it should be bug.

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

#3 2011-12-13 04:39:57

ustas
New member
Registered: 2011-01-21
Posts: 4

Re: Organize job and metadata for quick changes schemas

Thank, but I think it is the bug! I'm discovered the next method:
1. In repository I save 1st version of DB(DB1) and 2nd version (DB2).
2. In all my jobs I declared schemas from repository and type DB1.
3. Change  talend job version of all jobs from 0.1 to 0.2
4. Export items of schema on to disk
5. Open files *.item in external text editor (notepad++)  and search & replace key corresponding to database DB2 in repository and save files
6. Import items into studio
7. Open imported job and press Ok when talend ask if update schema

Need details ?  - write me here

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Organize job and metadata for quick changes schemas

Board footer

Powered by FluxBB