<?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 using tAggregate function to get the count of date and boolean columns in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/using-tAggregate-function-to-get-the-count-of-date-and-boolean/m-p/2237724#M26059</link>
    <description>Hi -
&lt;BR /&gt;I am trying to get the count of date and Boolean columns using the tAggregateRow component. However I am unable to get the count and store the value in a BigInt/Integer column in the target. The count function in tAggregateRow components appears to work seamlessly for other columns with different datatypes.
&lt;BR /&gt;Eg:
&lt;BR /&gt;TableName
&lt;BR /&gt;Col1 bigint
&lt;BR /&gt;Col2 bigint
&lt;BR /&gt;Col3 Boolean
&lt;BR /&gt;Col4 Date
&lt;BR /&gt;Upon doing the count operation in tAggregateRow on Col3 and Col4 i am receiving the below error and null value in my target.
&lt;BR /&gt;
&lt;FONT color="#ff3333"&gt;Warning:the operation 'count' for the output column 'Col3' can't be processed because of incompatible input and/or output types&lt;BR /&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#ff3333"&gt;Warning:the operation 'count' for the output column 'Col4' can't be processed because of incompatible input and/or output types&lt;/FONT&gt;
&lt;BR /&gt;Is there a way to let Talend know that the output of the aggregate value may or maynot be the same datatype as the source and create a output only port to store the value of the aggregate output?</description>
    <pubDate>Fri, 02 Oct 2015 17:42:07 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2015-10-02T17:42:07Z</dc:date>
    <item>
      <title>using tAggregate function to get the count of date and boolean columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/using-tAggregate-function-to-get-the-count-of-date-and-boolean/m-p/2237724#M26059</link>
      <description>Hi -
&lt;BR /&gt;I am trying to get the count of date and Boolean columns using the tAggregateRow component. However I am unable to get the count and store the value in a BigInt/Integer column in the target. The count function in tAggregateRow components appears to work seamlessly for other columns with different datatypes.
&lt;BR /&gt;Eg:
&lt;BR /&gt;TableName
&lt;BR /&gt;Col1 bigint
&lt;BR /&gt;Col2 bigint
&lt;BR /&gt;Col3 Boolean
&lt;BR /&gt;Col4 Date
&lt;BR /&gt;Upon doing the count operation in tAggregateRow on Col3 and Col4 i am receiving the below error and null value in my target.
&lt;BR /&gt;
&lt;FONT color="#ff3333"&gt;Warning:the operation 'count' for the output column 'Col3' can't be processed because of incompatible input and/or output types&lt;BR /&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#ff3333"&gt;Warning:the operation 'count' for the output column 'Col4' can't be processed because of incompatible input and/or output types&lt;/FONT&gt;
&lt;BR /&gt;Is there a way to let Talend know that the output of the aggregate value may or maynot be the same datatype as the source and create a output only port to store the value of the aggregate output?</description>
      <pubDate>Fri, 02 Oct 2015 17:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/using-tAggregate-function-to-get-the-count-of-date-and-boolean/m-p/2237724#M26059</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-10-02T17:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: using tAggregate function to get the count of date and boolean columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/using-tAggregate-function-to-get-the-count-of-date-and-boolean/m-p/2237725#M26060</link>
      <description>Hi&amp;nbsp;
&lt;BR /&gt;What's the data type of column that stores the result of count operation? Can you please upload a screenshot of your tAggregateRow settings?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Sun, 11 Oct 2015 04:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/using-tAggregate-function-to-get-the-count-of-date-and-boolean/m-p/2237725#M26060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-11T04:56:57Z</dc:date>
    </item>
  </channel>
</rss>

