tMap lookups a joblet

Highlighted
Four Stars

tMap lookups a joblet

Hello,

I am an Informatica Developer that will soon migrate to talend, is there a way that we can use a joblet as lookup? or like, to have a parallel connection from a tmap and a joblet to another tmap?Capture.PNG

f(x) = Tmap

block things = joblet

magnifier = lookup (but you can just ignore it)


Accepted Solutions
Employee

Re: tMap lookups a joblet

Hi,

 

     Joblet is a piece of Talend code where you have created a specific part of your overall program. You can use it in lookup section. Please refer the example below.

image.png

 

But you cannot use the same joblet as lookup connection to two tMaps for same flow as it will create cyclic dependency issue. So you can get the data output of tMap to memory components (like tHashOutput) or temporary files and use it as many time as you want for lookups at different areas of the code.

 

I believe this approach is classy and more readable from developer's perspective ;-)

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

View solution in original post


All Replies
Employee

Re: tMap lookups a joblet

Hi,

 

     Joblet is a piece of Talend code where you have created a specific part of your overall program. You can use it in lookup section. Please refer the example below.

image.png

 

But you cannot use the same joblet as lookup connection to two tMaps for same flow as it will create cyclic dependency issue. So you can get the data output of tMap to memory components (like tHashOutput) or temporary files and use it as many time as you want for lookups at different areas of the code.

 

I believe this approach is classy and more readable from developer's perspective ;-)

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

View solution in original post

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog