<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [resolved] Using static lookup tables within Jobs? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Using-static-lookup-tables-within-Jobs/m-p/2297287#M69878</link>
    <description>Hi there,
&lt;BR /&gt;is there a way to use static lookup tables and make them part of the rollout package in Talend?
&lt;BR /&gt;Here's what I mean:
&lt;BR /&gt;I have created a Web Service with a simple Service implementation (Job Design View).
&lt;BR /&gt;This service fetches data from a database, then performs some sorting operations, then (and only then) prioritizes the remaining items by means of a lookup table. This table is simple: 20 entries that contain a string and a numeric value. If a certain field of a data row matches one of the strings in the lookup table, the numeric value is associated with the row as "priority".
&lt;BR /&gt;Right now, that lookuip table resides in a flat file - but Talend does not include that file in the .kar file when I build the service.
&lt;BR /&gt;So I am wondering if there is a component which acts an can be used like a table or flat file but whose values can be set "like in Excel" and which is persisted in the job as if it was a Java array (and therefore part of the code)?
&lt;BR /&gt;Thanks
&lt;BR /&gt;Matt</description>
    <pubDate>Wed, 06 Aug 2014 19:07:28 GMT</pubDate>
    <dc:creator>kleinmat</dc:creator>
    <dc:date>2014-08-06T19:07:28Z</dc:date>
    <item>
      <title>[resolved] Using static lookup tables within Jobs?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Using-static-lookup-tables-within-Jobs/m-p/2297287#M69878</link>
      <description>Hi there,
&lt;BR /&gt;is there a way to use static lookup tables and make them part of the rollout package in Talend?
&lt;BR /&gt;Here's what I mean:
&lt;BR /&gt;I have created a Web Service with a simple Service implementation (Job Design View).
&lt;BR /&gt;This service fetches data from a database, then performs some sorting operations, then (and only then) prioritizes the remaining items by means of a lookup table. This table is simple: 20 entries that contain a string and a numeric value. If a certain field of a data row matches one of the strings in the lookup table, the numeric value is associated with the row as "priority".
&lt;BR /&gt;Right now, that lookuip table resides in a flat file - but Talend does not include that file in the .kar file when I build the service.
&lt;BR /&gt;So I am wondering if there is a component which acts an can be used like a table or flat file but whose values can be set "like in Excel" and which is persisted in the job as if it was a Java array (and therefore part of the code)?
&lt;BR /&gt;Thanks
&lt;BR /&gt;Matt</description>
      <pubDate>Wed, 06 Aug 2014 19:07:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Using-static-lookup-tables-within-Jobs/m-p/2297287#M69878</guid>
      <dc:creator>kleinmat</dc:creator>
      <dc:date>2014-08-06T19:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Using static lookup tables within Jobs?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Using-static-lookup-tables-within-Jobs/m-p/2297288#M69879</link>
      <description>Hi Matt,&lt;BR /&gt;I believe you can use a tFixedFlowInput for what you are doing. Define the schema then check off "Use Inline Table" and put your key/value pairs in there.&lt;BR /&gt;--Matt</description>
      <pubDate>Wed, 06 Aug 2014 19:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Using-static-lookup-tables-within-Jobs/m-p/2297288#M69879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-06T19:57:28Z</dc:date>
    </item>
  </channel>
</rss>

