<?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: tJava component not printing the whole query in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tJava-component-not-printing-the-whole-query/m-p/2362211#M126389</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What does your too long query look like?&lt;/P&gt;&lt;P&gt;It seem that SOQL query length is limited to 20,000 characters. &lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2023 08:05:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-10-19T08:05:39Z</dc:date>
    <item>
      <title>tJava component not printing the whole query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-component-not-printing-the-whole-query/m-p/2362210#M126388</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been using for the last year the &lt;B&gt;tJava&lt;/B&gt; component to log my &lt;B&gt;tDBInput&lt;/B&gt; components query when I need to have them displayed on the Talend Management Console&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been using this code : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;I&gt;log.info("JOB QUERY" + ((String)globalMap.get("tDBInput_1_QUERY")));&lt;/I&gt;&lt;/P&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing is for some query that are too long it's not displayed. For example I have a 23 000 character query and only 16 800 get logged on the console.&lt;/P&gt;&lt;P&gt;How can I make the tJava display the entirety of the query ?&lt;/P&gt;&lt;P&gt;I'm on Talend Cloud Data Integration R2022-12 if that helps.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-component-not-printing-the-whole-query/m-p/2362210#M126388</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2024-11-15T21:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: tJava component not printing the whole query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-component-not-printing-the-whole-query/m-p/2362211#M126389</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What does your too long query look like?&lt;/P&gt;&lt;P&gt;It seem that SOQL query length is limited to 20,000 characters. &lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 08:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-component-not-printing-the-whole-query/m-p/2362211#M126389</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-19T08:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: tJava component not printing the whole query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-component-not-printing-the-whole-query/m-p/2362212#M126390</link>
      <description>&lt;P&gt;You can write the query also in the console output (but this way it will not shown in the TAC/TMC log).&lt;/P&gt;&lt;P&gt;Use this code:&lt;/P&gt;&lt;P&gt;System.out.println("JOB QUERY" + ((String)globalMap.get("tDBInput_1_QUERY")));&lt;/P&gt;&lt;P&gt;This way the whole query will be printed.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 09:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-component-not-printing-the-whole-query/m-p/2362212#M126390</guid>
      <dc:creator>jlolling</dc:creator>
      <dc:date>2023-10-19T09:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: tJava component not printing the whole query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-component-not-printing-the-whole-query/m-p/2362213#M126391</link>
      <description>&lt;P&gt;Can't really share in details the query but it's a basic query with lots of "decode" and sub-select + join and where section&lt;/P&gt;&lt;P&gt;At the moment I'm trying to put the query in a context and split the context in half to print half first then the other half so I'll see how this turns out&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 08:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-component-not-printing-the-whole-query/m-p/2362213#M126391</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2023-10-20T08:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: tJava component not printing the whole query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tJava-component-not-printing-the-whole-query/m-p/2362214#M126392</link>
      <description>&lt;P&gt;Thanks for the reply unfortunately I need to display the query in the TMC for the users that don't have access to the studio. (They want to be able to check what query is being put in the components from the TMC)&lt;/P&gt;&lt;P&gt;It's been working great so far with other queries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I said in another answer &lt;/P&gt;&lt;P&gt;&lt;I&gt;"At the moment I'm trying to put the query in a context and split the context in half to print half first then the other half so I'll see how this turns out"&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 08:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tJava-component-not-printing-the-whole-query/m-p/2362214#M126392</guid>
      <dc:creator>quentin-vigne</dc:creator>
      <dc:date>2023-10-20T08:14:37Z</dc:date>
    </item>
  </channel>
</rss>

