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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
karthikj18
Contributor III
Contributor III

String to Dynamic Data Type

Hi,
I am using Talend Enterprise Edition of DI.
Can anyone know how to convert String data type to Dynamic Data Type in tMap?
Labels (2)
4 Replies
Anonymous
Not applicable

Hi
No. You can't simply covert data between String type and Dynamic type.
Dynamic is a feature called dynamic schema in Talend Enterprise Edition.
You can get instructions and scenarios from documents.
Regards,
Pedro
karthikj18
Contributor III
Contributor III
Author

Hi Pedro,
There is issue in using the Dynamic data type.
The Dynamic data type fixes the First row's delimiter count as default and if the next records consist of more delimiters then its being truncated.
So I am trying to get the input from tFileInputFullRow as string and checking the row count and trying to convert as Dynamic.
There is also issue when try to convert Dynamic data type to string and getting the string count.(It gives different string count)
Is there any solution?
Anonymous
Not applicable

Hi
If the schema of each row is different from others, you'd better read and loop this file only one row each time.
Regards,
Pedro
karthikj18
Contributor III
Contributor III
Author

Hi,
I am trying to only allow the records if the delimiter count is matched.