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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

sqlserver Hierarchyid field equivalent in Talend

Hi there,

 

I Need to use Hierarchyid metadata in sqlserver.

At the source SQLServer DB, a field is of type Hierarchyid.

0683p000009LtXe.png

 

when i extracted it to the destination DB (also SQLServer), i noticed that the metadata was chaanged into varbinary.

0683p000009Lt9M.png

 

This is how the tmap looks like:

0683p000009LtAF.png

 

1. how do i make sure to keep the Hierarchyid type? I need it to preform a ::getroot() method..

2. what is the equivalent of Hierachyid in Talend?

3. is there a conversion table between SQLServer to Talend?

 

Thanks in advance!

 

Evya

 

 

Labels (2)
1 Reply
Anonymous
Not applicable
Author

This will be a mapping issue in the studio preferences. If the data type from the database is unknown talend will utilise a default datatype. You can force specific data type mappings if needed.

In studio select the windows menu then preferences. In the preferences window expand 'Talend' then 'Specific settings' then 'metadata for talend'. Select the appropriate DBMS . It is an XML file that you can then modify as needed. (The location for this may differ from version to version) 

Just make sure you take a backup of the file first.