• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

#1 2008-05-13 20:26:09

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

[resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

is there a way to have Talend automatically set the Type or DB Type to a default Type or DB Type, and also Length?
basically, I want all the columns to be set to DB Type = VARCHAR and Length = 255

I know I could do this manually, but the metadata file is subject to change (it is certain that we will be adding and removing columns from this file, more than once) and I don't want to have to manually change all of the Types or DB Types and Lengths every time I update the metadata.


Uploaded Images

Last edited by strpdsnk (2008-05-13 20:27:00)

Offline

#2 2008-05-14 07:58:46

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

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

Hello

is there a way to have Talend automatically set the Type or DB Type to a default Type or DB Type, and also Length?
basically, I want all the columns to be set to DB Type = VARCHAR and Length = 255

Talend can't do that automatically as your said. Maybe other users don't want to set the type/DB type as varchar by default, but int.

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 2008-05-14 17:56:44

mhirt
Talend team
Registered: 2006-09-19
Posts: 1658

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

Hello,

Yopu can use your own mapping : go to Window -> Preferences -> Talend -> Metadata of Talend Types

Regards,

Last edited by mhirt (2008-05-14 17:56:59)

Offline

#4 2008-05-14 20:34:09

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

Is there any way to specify a default for a single job or project?

^that would work for this particular task, but might conflict with what we want to do with future jobs.

Last edited by strpdsnk (2008-05-14 21:07:50)

Offline

#5 2008-05-14 21:08:10

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

I guess I could make that change (that mhirt suggested) for this job and export it, and then revert back to the original settings for any new jobs I create...

Offline

#6 2008-05-14 21:11:59

mhirt
Talend team
Registered: 2006-09-19
Posts: 1658

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

Well, if it's only for one job, don't bother yourself.
It will be probably faster to configure your component schema manually...

Good luck

Offline

#7 2008-05-14 21:13:41

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

The problem is that the file the metadata is based off of is going to be changing - and we have no way of knowing, now, when and what those changes will be.  Or how frequent they will be.
So, we really need this to be able to be automatically configured.

Offline

#8 2008-05-14 21:56:30

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

If I had a file that contained information on all possible fields, is there a way to set up a lookup to update the Type or DB Type and Length, based on the column name from the data file?

Offline

#9 2008-05-15 05:12:47

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

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

Hello

If I had a file that contained information on all possible fields, is there a way to set up a lookup to update the Type or DB Type and Length, based on the column name from the data file?

It is impossible to do that, because currently we can only define the schema on design time, not on run time.

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

#10 2008-05-15 20:54:50

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

Ok... is there some other available solution that you can think of?

If not, and I wanted to request a solution, how would I do that and what should I request to be able to do what I want to do?

Offline

#11 2008-05-15 21:10:55

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

What about if I made a generic schema that included all possible columns and had the Types and Lengths set up like I want them to be, is there a way to have a job reference that schema and pull out the information from that generic schema and apply it to the columns that are actually in the data file being called?

Offline

#12 2008-05-15 21:54:10

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

Or could some option be added to the schema creation/edit screen that, if filled in, would override the standard settings?  (see attached pics) 
kinda like what I suggested in viewtopic.php?pid=11532 for default null values


Uploaded Images

Offline

#14 2009-05-25 11:36:38

ranmori
New member
Registered: 2009-05-25
Posts: 1

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

simulation credit auto
It's really great. I like it very much.
Thanks strpdsnk so much ^^

Offline

#15 2009-06-30 03:47:59

lediana0801
Guest

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

Thanks so much for sharing the post.



credit auto

#16 2009-07-08 04:29:44

heaths
Guest

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

Thanks for sharing your idea here. I appreciate your idea, very excellent.
simulationcredit

#17 2009-08-05 05:50:26

Bancato
New member
Registered: 2009-08-05
Posts: 1

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

That's quite a very interesting but difficult work.
proprietaire simulation rachat credit immobilier consommation - demander un rachat de crédit, faites une simulation rachat de credit en ligne.proprietaire simulation rachat credit immobilier consommation

Offline

#18 2009-08-17 03:02:53

banmark
New member
Registered: 2009-08-17
Posts: 2

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

is there some other available solution that you can think of?
proprietaire simulation rachat credit immobilier consommation - demander un rachat de crédit, faites une simulation rachat de credit en ligne.proprietaire simulation rachat credit immobilier consommation

Offline

#19 2009-08-18 03:26:13

blackberry8100
New member
Registered: 2009-08-18
Posts: 1

Re: [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

Marked! I will check it later!thanks a lot.
simulation taux banque credit immobilier de France - Credit immobilier de France, simulation credit immobilier. Résultat mitigé pour le crédit immobilier de France.simulation taux banque credit immobilier de France

Last edited by blackberry8100 (2009-08-18 03:27:48)

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] way to auto set default (data) Type in Metadata, or DB Type in Schema?

Board footer

Powered by FluxBB