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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Warning: "the schema's dbType not correct for this component"

Hi, using MysqlInput component
Have this warning occurring, what could be causing it?
Thank You 0683p000009MACn.png
Labels (2)
9 Replies
Anonymous
Not applicable
Author

I've been comfortably ignoring that one for years...
Anonymous
Not applicable
Author

Hi,
The warning reminder you that you haven't set a DB type in schema yet. Certainly, for simple data type, it is not a big deal. But a complicate data type will encounter a problem when execute the whole job without setting a DB type.
The solution is that setting a DB type for your column in schema of DB input component.
Actually, the warning will not affect your job execution.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina, can you show me where this is set? I'd like to keep everything nice and neat if possible 0683p000009MACn.png
Anonymous
Not applicable
Author

Hi,
You can set DB type in schema setting.
Best regards
Sabrina
0683p000009MBK2.png
Anonymous
Not applicable
Author

Hi, I am doing that but some of them appear orange in the schema editor (see example attached)
Maybe this is an indication that something is wrong?
Anonymous
Not applicable
Author

Hi,
You'd better use the same numeric types between talend schema and DB.
As we known that,
Talend Schema-->DB type(mapping)
String-->Varchar
Int-->INT
For the orange part, it is an indication that you use different numeric types between talend schema and DB, which is a warning not affect your job execution.
Best regards
Sabrina
Anonymous
Not applicable
Author

Thanks ok, so no need to worry
Anonymous
Not applicable
Author

you can modify the defaut mapping between Talend type and DB type thanks xml metadata Talend type.
(@see preferences).
it will affect all your Talend project .
regards
laurent
0683p000009MBjF.png
Anonymous
Not applicable
Author

Ok thank You 0683p000009MACn.png