<?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: tUnpivotRow (external component by daztop) data type issue in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tUnpivotRow-external-component-by-daztop-data-type-issue/m-p/2372589#M135413</link>
    <description>Sorry, second try here is the screenshot of the tUniPivotRow&amp;nbsp;component configuration, that causes the error: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBIi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128373i05B11F8118B5922A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBIi.png" alt="0683p000009MBIi.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Explanation 
&lt;BR /&gt;I want to unpivotize consumption data of different materials. Up to the consumption data columns I have got several material master data columns, that represent the pivot key. The column labels to be unpivotized are p1, p2, p3,... - each denoting consumption period of time. Data type of consumption data itself is double. To my understanding the data types of the unpivot results should be the following 
&lt;BR /&gt;- pivot_key: string (this is the field where the p1, p2, p3,... end up - each of them of data type string in the input file as well) 
&lt;BR /&gt;- pivot_value: double (as the consumption data of each period end up there) 
&lt;BR /&gt;And this causes the error shown above. 
&lt;BR /&gt;It works, if I declare pivot_value as string as well. I had the same experience with a date data type as well. 
&lt;BR /&gt;My conclusion is, that this unpivot component seems to convert every input value into a string. 
&lt;BR /&gt;Unless I make a mistake, that I would be happy to learn about - to avoid awkward data conversion before and after this component</description>
    <pubDate>Wed, 12 Aug 2015 15:01:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-12T15:01:28Z</dc:date>
    <item>
      <title>tUnpivotRow (external component by daztop) data type issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tUnpivotRow-external-component-by-daztop-data-type-issue/m-p/2372587#M135411</link>
      <description>After checking all unpivot options and components, I went for tUnpivotRow v1.1 from user daztop, which works well for me, many thanks. 
&lt;BR /&gt;Please see a more detailed review by me on the review page on Talend exchange. 
&lt;BR /&gt;I however ran into one issue, that looks like a bug to me: I was able to depivotize string data only. Float or date formated data did not work. I received an error "conversion error string to float" from the component. 
&lt;BR /&gt;Here#s screen shot of the schema configuration of the component and the error message: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBI9.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148311i5BEE16759BC1509B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBI9.png" alt="0683p000009MBI9.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBKT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154396i58FA0D0369E42BF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBKT.png" alt="0683p000009MBKT.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;As a workaround I convert data to / from strings before / after using the component. 
&lt;BR /&gt;I would be interested to know, if there can be a configuration mistake by me, or if this is a bug, that can be potentially fixed. 
&lt;BR /&gt;I use TOS 5.6.2.</description>
      <pubDate>Mon, 10 Aug 2015 16:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tUnpivotRow-external-component-by-daztop-data-type-issue/m-p/2372587#M135411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-10T16:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: tUnpivotRow (external component by daztop) data type issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tUnpivotRow-external-component-by-daztop-data-type-issue/m-p/2372588#M135412</link>
      <description>Hi,&lt;BR /&gt;The screenshot of&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;tUnpivotRow component setting is not uploaded successfully into forum.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;If I understand your issue very well, you must keep data type consistence (date--&amp;gt;date, float--&amp;gt;float) when you just unpivot your row through tUnpivotRow component.&lt;BR /&gt;If you want to convert data type, please take a look at component tConvertType.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 12 Aug 2015 09:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tUnpivotRow-external-component-by-daztop-data-type-issue/m-p/2372588#M135412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-12T09:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: tUnpivotRow (external component by daztop) data type issue</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tUnpivotRow-external-component-by-daztop-data-type-issue/m-p/2372589#M135413</link>
      <description>Sorry, second try here is the screenshot of the tUniPivotRow&amp;nbsp;component configuration, that causes the error: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBIi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128373i05B11F8118B5922A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBIi.png" alt="0683p000009MBIi.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Explanation 
&lt;BR /&gt;I want to unpivotize consumption data of different materials. Up to the consumption data columns I have got several material master data columns, that represent the pivot key. The column labels to be unpivotized are p1, p2, p3,... - each denoting consumption period of time. Data type of consumption data itself is double. To my understanding the data types of the unpivot results should be the following 
&lt;BR /&gt;- pivot_key: string (this is the field where the p1, p2, p3,... end up - each of them of data type string in the input file as well) 
&lt;BR /&gt;- pivot_value: double (as the consumption data of each period end up there) 
&lt;BR /&gt;And this causes the error shown above. 
&lt;BR /&gt;It works, if I declare pivot_value as string as well. I had the same experience with a date data type as well. 
&lt;BR /&gt;My conclusion is, that this unpivot component seems to convert every input value into a string. 
&lt;BR /&gt;Unless I make a mistake, that I would be happy to learn about - to avoid awkward data conversion before and after this component</description>
      <pubDate>Wed, 12 Aug 2015 15:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tUnpivotRow-external-component-by-daztop-data-type-issue/m-p/2372589#M135413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-12T15:01:28Z</dc:date>
    </item>
  </channel>
</rss>

