<?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 not printing anything on tLogRow if filtered data is empty in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/not-printing-anything-on-tLogRow-if-filtered-data-is-empty/m-p/2207690#M7226</link>
    <description>Hi,
&lt;BR /&gt;I need to log information on an upsert only if the number of records upserted is greater than 0. If nothing gets upserted, i don't want this empty table generated by tLogRow to be printed:
&lt;BR /&gt;.-------------+------+------+--------+-------------+--------------------.
&lt;BR /&gt;| DATA UPSERTED |
&lt;BR /&gt;|=------------+------+------+--------+-------------+-------------------=|
&lt;BR /&gt;|-------------------------------------header------------------------------|
&lt;BR /&gt;|=------------+------+------+--------+-------------+-------------------=|
&lt;BR /&gt;'-------------+------+------+--------+-------------+--------------------'
&lt;BR /&gt;I've tried with this scenario:
&lt;BR /&gt;tMap -- tFilterRow -- tLogRow
&lt;BR /&gt;in tMap I have defined Numeric.sequence("count_row_upserted",1,1) to count the number of rows taken from tMap and in my tFilter I've put this condition:
&lt;BR /&gt;input_row.count_rows_uperseted &amp;gt; 0
&lt;BR /&gt; but I still get the empty table printed. Any idea on how I could do this?
&lt;BR /&gt;Thanks.</description>
    <pubDate>Mon, 11 Nov 2013 11:26:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-11T11:26:01Z</dc:date>
    <item>
      <title>not printing anything on tLogRow if filtered data is empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/not-printing-anything-on-tLogRow-if-filtered-data-is-empty/m-p/2207690#M7226</link>
      <description>Hi,
&lt;BR /&gt;I need to log information on an upsert only if the number of records upserted is greater than 0. If nothing gets upserted, i don't want this empty table generated by tLogRow to be printed:
&lt;BR /&gt;.-------------+------+------+--------+-------------+--------------------.
&lt;BR /&gt;| DATA UPSERTED |
&lt;BR /&gt;|=------------+------+------+--------+-------------+-------------------=|
&lt;BR /&gt;|-------------------------------------header------------------------------|
&lt;BR /&gt;|=------------+------+------+--------+-------------+-------------------=|
&lt;BR /&gt;'-------------+------+------+--------+-------------+--------------------'
&lt;BR /&gt;I've tried with this scenario:
&lt;BR /&gt;tMap -- tFilterRow -- tLogRow
&lt;BR /&gt;in tMap I have defined Numeric.sequence("count_row_upserted",1,1) to count the number of rows taken from tMap and in my tFilter I've put this condition:
&lt;BR /&gt;input_row.count_rows_uperseted &amp;gt; 0
&lt;BR /&gt; but I still get the empty table printed. Any idea on how I could do this?
&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 11 Nov 2013 11:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/not-printing-anything-on-tLogRow-if-filtered-data-is-empty/m-p/2207690#M7226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-11T11:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: not printing anything on tLogRow if filtered data is empty</title>
      <link>https://community.qlik.com/t5/Talend-Studio/not-printing-anything-on-tLogRow-if-filtered-data-is-empty/m-p/2207691#M7227</link>
      <description>Hi 
&lt;BR /&gt;tLogRow is used to print the result on the console, it is just a debug component, we usually remove it from the job when the job is executed in production environment. You can select basic mode on tLogRow, it will display nothing if there is no rows. 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 13 Nov 2013 03:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/not-printing-anything-on-tLogRow-if-filtered-data-is-empty/m-p/2207691#M7227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-13T03:14:32Z</dc:date>
    </item>
  </channel>
</rss>

