Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mauerwegrunner
Contributor III
Contributor III

Empty DB type in output table schema for fields calculated by variable in a tMap

Hello,

I am calculating simple integer numbers (not null) in a tMap's variable section. When these fields are going to be loaded in an output table with option drop table if exists and create for these fields there is no db datatype preselected. Also for another field which is a string and which is filled by a context variable. And this variable is being used in every job and there was never a problem with this database's datatype.

0695b00000fIRmWAAW.png

Is this is a normal behaviour? I've been using Talend since 5 years and I've changed to Enterprise on premise this year. Target DB is postgres database.

What might be the reason? The xml file which maps the internal DB types to the target`s DB type shows an int4 for this.

0695b00000fIRnFAAW.png

thanks and regards

Matthias

Labels (2)
2 Replies
Anonymous
Not applicable

Hello Matthias,

Could you please try if you can select the DB Type for the above 4 fields in the output schema of PSQL_DWH_OP manually?

Thanks

mauerwegrunner
Contributor III
Contributor III
Author

Hello achen,

thanks for your answer. Selecting manually works. However it would be better to get his mapped automatically like it does in the first three columns of this schema.

I've tested some solutions. sync columns does not work, but, when I save and close and reopen it, then the warning symbol about different schemas appears:

And then sync columns works and all columns are correctly assigned to a database datatype without manual work. This workaround works.

I suppose the reason is using a variable in a tMap in this subjob.

0695b00000fIYt0AAG.pngThanks and rregards, Matthias