<?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 Global Transformations:  Numeric to Interval in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Transformations-Numeric-to-Interval/m-p/1855280#M1253</link>
    <description>&lt;P&gt;We are moving data from Oracle to CSV in ADLS Gen 2.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ID fields in one database are defined as NUMBER (or Float), so the resultant CSV is:&amp;nbsp;&amp;nbsp;27765.0000000000.&lt;/P&gt;
&lt;P&gt;In other DB's the same identifier is NUMBER(15,0).&amp;nbsp; I have tried using global transformations to no avail.&amp;nbsp; Is there anything that I can do remove the decimals in Global Transformations so I don't have to cleans it on the back end?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Nov 2021 20:32:45 GMT</pubDate>
    <dc:creator>acope307</dc:creator>
    <dc:date>2021-11-03T20:32:45Z</dc:date>
    <item>
      <title>Global Transformations:  Numeric to Interval</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Transformations-Numeric-to-Interval/m-p/1855280#M1253</link>
      <description>&lt;P&gt;We are moving data from Oracle to CSV in ADLS Gen 2.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ID fields in one database are defined as NUMBER (or Float), so the resultant CSV is:&amp;nbsp;&amp;nbsp;27765.0000000000.&lt;/P&gt;
&lt;P&gt;In other DB's the same identifier is NUMBER(15,0).&amp;nbsp; I have tried using global transformations to no avail.&amp;nbsp; Is there anything that I can do remove the decimals in Global Transformations so I don't have to cleans it on the back end?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 20:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Global-Transformations-Numeric-to-Interval/m-p/1855280#M1253</guid>
      <dc:creator>acope307</dc:creator>
      <dc:date>2021-11-03T20:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Global Transformations:  Numeric to Interval</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Transformations-Numeric-to-Interval/m-p/1855498#M1256</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/152996"&gt;@acope307&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;In Oracle database, there is a datatype &lt;STRONG&gt;NUMBER&lt;/STRONG&gt; (without the explicit precision and scale definition), by default Replicate maps it as &lt;STRONG&gt;NUMERIC(38,10)&lt;/STRONG&gt;, that's why you see additional ten ZERO suffixed. In your sample, you got&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;27765.0000000000&lt;/STRONG&gt; in CSV file.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We have several options to avoid the unnecessary zeros. Eg using transformation, or adjusting the Oracle source endpoint setting. the latter is the better option. You can change default mapping from &lt;STRONG&gt;NUMERIC(38,10)&amp;nbsp;&lt;/STRONG&gt;to &lt;STRONG&gt;NUMERIC(38,0)&lt;/STRONG&gt;&amp;nbsp;likes below sample:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1636027107057.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/65915i6E601502D81E5D06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1636027107057.png" alt="john_wang_0-1636027107057.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let me know if you need any additional assistance.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 12:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Global-Transformations-Numeric-to-Interval/m-p/1855498#M1256</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2021-11-04T12:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Global Transformations:  Numeric to Interval</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Transformations-Numeric-to-Interval/m-p/1858216#M1272</link>
      <description>&lt;P&gt;Thanks John!&lt;/P&gt;
&lt;P&gt;I didn't see the email from Qlik until this AM...that is the cause of the delay.&lt;/P&gt;
&lt;P&gt;Once again...I think you helped me before :)...much appreciated.&lt;/P&gt;
&lt;P&gt;Unfortunately, in this case the developer set all *_ID columns to number/float...some columns need the extra precision, I was hoping to be able just do *_ID columns.&amp;nbsp; The reason is in another system, the *_ID columns are integer data types.&amp;nbsp; It seems like, I have to wait to get it into my data lake to do the actual cleansing.&lt;/P&gt;
&lt;P&gt;Neil&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 14:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Global-Transformations-Numeric-to-Interval/m-p/1858216#M1272</guid>
      <dc:creator>acope307</dc:creator>
      <dc:date>2021-11-11T14:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Global Transformations:  Numeric to Interval</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Transformations-Numeric-to-Interval/m-p/1858483#M1273</link>
      <description>&lt;P&gt;Hello Neil,&lt;/P&gt;
&lt;P&gt;We are glad to help always.&lt;/P&gt;
&lt;P&gt;If you want to&amp;nbsp;&lt;SPAN&gt;set all *_ID columns to &lt;STRONG&gt;NUMERIC(38,0)&amp;nbsp;&lt;/STRONG&gt;(but still keep some columns the extra precision), you may use Global Rules Data Type convert rule. You can set specific columns , or the columns which name meet a given pattern in the rule. The below sample shows how to convert the columns &lt;STRONG&gt;%_ID&lt;/STRONG&gt; (the column name suffixed by "_ID")&amp;nbsp; to &lt;STRONG&gt;NUMERIC(38,0)&amp;nbsp;&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1636688051399.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/66517i1A1FAA82448219AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1636688051399.png" alt="john_wang_0-1636688051399.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_1-1636688063668.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/66518i6DAFADC3DCFA3876/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_1-1636688063668.png" alt="john_wang_1-1636688063668.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 03:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Global-Transformations-Numeric-to-Interval/m-p/1858483#M1273</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2021-11-12T03:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Global Transformations:  Numeric to Interval</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Transformations-Numeric-to-Interval/m-p/1858917#M1276</link>
      <description>&lt;P&gt;Thanks John...I appreciate it:)&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 21:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Global-Transformations-Numeric-to-Interval/m-p/1858917#M1276</guid>
      <dc:creator>acope307</dc:creator>
      <dc:date>2021-11-12T21:43:10Z</dc:date>
    </item>
  </channel>
</rss>

