<?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 Re: [resolved] Handling large amount of data / 65535 bytes limit in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Handling-large-amount-of-data-65535-bytes-limit/m-p/2198060#M1550</link>
    <description>If you only need 1 value from each of the lookups (wouldn't it be more like one value and at least one lookup key?) then you can write the SQL inside the db components to only return the required the columns. You will have to ensure you have your schema columns set up accordingly, but this will remove a lot of lines of Java code.</description>
    <pubDate>Sun, 23 Oct 2016 22:29:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-23T22:29:57Z</dc:date>
    <item>
      <title>[resolved] Handling large amount of data / 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Handling-large-amount-of-data-65535-bytes-limit/m-p/2198059#M1549</link>
      <description>Hi, I'm encountering a Java problem with one of my jobs ... I have one table where I get data from and then from another table, I get a lot of data by lookup and enrich the resulting stream field by field. In fact, the second table is always the same, but each time it's a different key. Wordpress tables posts and postmeta, just in case you know them; I'm trying to extract woocommerce data from those two tables. It worked until a certain amount of fields.&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBzg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133881i680F80518A3C0573/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBzg.png" alt="0683p000009MBzg.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;The error I'm getting is: 
&lt;BR /&gt; 
&lt;PRE&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt;	The code of method tMysqlInput_1Process(Map&amp;lt;String,Object&amp;gt;) is exceeding the 65535 bytes limit&lt;BR /&gt;	at academia.rechnungsexportv3_0_1.RechnungsExportv3.tMysqlInput_1Process(RechnungsExportv3.java:54426)&lt;BR /&gt;	at academia.rechnungsexportv3_0_1.RechnungsExportv3.tMysqlConnection_1Process(RechnungsExportv3.java:2961)&lt;BR /&gt;	at academia.rechnungsexportv3_0_1.RechnungsExportv3.runJobInTOS(RechnungsExportv3.java:50183)&lt;BR /&gt;	at academia.rechnungsexportv3_0_1.RechnungsExportv3.main(RechnungsExportv3.java:50040)&lt;/PRE&gt; 
&lt;BR /&gt;This is caused by serializing 46 lookups like that. 
&lt;BR /&gt;Do you have any idea how this can be optimized? 
&lt;BR /&gt;Oh, and I might need even more data from other tables. 
&lt;BR /&gt;If I may speak in visual Basic terms, each of those is like a "Dlookup". And in fact, I only need one value from each lookup. I can imagine, this would save a lot of resources, if something like that would be implementable in a tJava or tJavaRow component. And honestly, I must admit that I find the above architecture of the job a bit blown up with it's 46 boring fields.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; 
&lt;BR /&gt;I appreciate any advice</description>
      <pubDate>Sun, 23 Oct 2016 21:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Handling-large-amount-of-data-65535-bytes-limit/m-p/2198059#M1549</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-23T21:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Handling large amount of data / 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Handling-large-amount-of-data-65535-bytes-limit/m-p/2198060#M1550</link>
      <description>If you only need 1 value from each of the lookups (wouldn't it be more like one value and at least one lookup key?) then you can write the SQL inside the db components to only return the required the columns. You will have to ensure you have your schema columns set up accordingly, but this will remove a lot of lines of Java code.</description>
      <pubDate>Sun, 23 Oct 2016 22:29:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Handling-large-amount-of-data-65535-bytes-limit/m-p/2198060#M1550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-23T22:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Handling large amount of data / 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Handling-large-amount-of-data-65535-bytes-limit/m-p/2198061#M1551</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;If you only need 1 value from each of the lookups (wouldn't it be more like one value and at least one lookup key?) then you can write the SQL inside the db components to only return the required the columns. You will have to ensure you have your schema columns set up accordingly, but this will remove a lot of lines of Java code.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Thank you for your suggestion - I think that's a direction to try. What I'm doing with those tFilterRow components is definitively something which I could do within the SQL statement of the respective tMysqlInput component, because each of the criteria is "hardcoded". I will give it a try, although it will take me a time. I will provide feedback. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Sun, 30 Oct 2016 12:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Handling-large-amount-of-data-65535-bytes-limit/m-p/2198061#M1551</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-30T12:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Handling large amount of data / 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Handling-large-amount-of-data-65535-bytes-limit/m-p/2198062#M1552</link>
      <description>more - all of this logic possible to pack as SQL code and run before Talend
&lt;BR /&gt;it good to use Talend for lookup if You need -
&lt;BR /&gt;read from MySQL and Lookup in Oracle (as example)&amp;nbsp;
&lt;BR /&gt;but when all tables on same schema (or same server) - much easy do it all in SQL</description>
      <pubDate>Sun, 30 Oct 2016 12:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Handling-large-amount-of-data-65535-bytes-limit/m-p/2198062#M1552</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2016-10-30T12:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Handling large amount of data / 65535 bytes limit</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Handling-large-amount-of-data-65535-bytes-limit/m-p/2198063#M1553</link>
      <description>Thank you for your suggestions - I've got it resolved by eliminating the tFilterRows and putting the logic into SQL, it's working now. Brillant. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/8363/2016-10-30-tos-resolved.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBzl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147300iE61EA84297BC10B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBzl.png" alt="0683p000009MBzl.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/A&gt;</description>
      <pubDate>Sun, 30 Oct 2016 22:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Handling-large-amount-of-data-65535-bytes-limit/m-p/2198063#M1553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-30T22:21:01Z</dc:date>
    </item>
  </channel>
</rss>

