<?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 Conversion Failure using dynamic column in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Conversion-Failure-using-dynamic-column/m-p/2277648#M53353</link>
    <description>&lt;P&gt;I have a job that exports from mssql to a flat file using the dynamic schema. Its setup to pass in variables for the source table and then outputs to a flat file. for most tables it works fine, however when exporting others it errors out with a data conversion error on one of the columns. It seems this may be a bug in that the dynamic schema is seeing this datetime2(2) column as an int.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dynamicComponent.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2FH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130132i00A8695307762ADE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2FH.jpg" alt="0683p000009M2FH.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dynamicTable.jpg" style="width: 372px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Fz.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157465i12F22886FE857FCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Fz.jpg" alt="0683p000009M2Fz.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dynamicLog2.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2G4.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129126i5A87685DFC28CBAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2G4.jpg" alt="0683p000009M2G4.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2019 18:07:03 GMT</pubDate>
    <dc:creator>thorrocks</dc:creator>
    <dc:date>2019-01-08T18:07:03Z</dc:date>
    <item>
      <title>Conversion Failure using dynamic column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conversion-Failure-using-dynamic-column/m-p/2277648#M53353</link>
      <description>&lt;P&gt;I have a job that exports from mssql to a flat file using the dynamic schema. Its setup to pass in variables for the source table and then outputs to a flat file. for most tables it works fine, however when exporting others it errors out with a data conversion error on one of the columns. It seems this may be a bug in that the dynamic schema is seeing this datetime2(2) column as an int.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dynamicComponent.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2FH.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130132i00A8695307762ADE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2FH.jpg" alt="0683p000009M2FH.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dynamicTable.jpg" style="width: 372px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Fz.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157465i12F22886FE857FCE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Fz.jpg" alt="0683p000009M2Fz.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dynamicLog2.jpg" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2G4.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129126i5A87685DFC28CBAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2G4.jpg" alt="0683p000009M2G4.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 18:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conversion-Failure-using-dynamic-column/m-p/2277648#M53353</guid>
      <dc:creator>thorrocks</dc:creator>
      <dc:date>2019-01-08T18:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Failure using dynamic column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conversion-Failure-using-dynamic-column/m-p/2277649#M53354</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;In your Studio, you can open the&amp;nbsp;Project Settings, dig into General &amp;gt; Metadata of Talend.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please check if the default mapping file( mapping_&amp;lt;YourDB&amp;gt;.xml.) contain this type? And is this default precision "2"? You can&amp;nbsp;try to configure that in mapping_&amp;lt;YourDB&amp;gt;.xml and there is improvement needed to make it fully dynamic.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 08:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conversion-Failure-using-dynamic-column/m-p/2277649#M53354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-15T08:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion Failure using dynamic column</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Conversion-Failure-using-dynamic-column/m-p/2277650#M53355</link>
      <description>&lt;P&gt;thanks for the reply. so the particular column I'm dealing with is datetime2(2) so I should change the defaultPrecision to 2 for that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;BR /&gt;&amp;lt;mapping&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;lt;dbms product="SQL_SERVER" id="id_MSSQL" label="Mapping MSSQL"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;default="true"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;dbTypes&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="BIGINT" ignoreLen="true" ignorePre="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="BIGINT IDENTITY" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="BINARY" ignoreLen="true" ignorePre="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="BIT" ignoreLen="true" ignorePre="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="CHAR" defaultLength="50" ignorePre="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="DATE" ignoreLen="true" ignorePre="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="DATETIME" ignoreLen="true" ignorePre="true" /&amp;gt;&lt;BR /&gt;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="DATETIME2" ignoreLen="true" defaultPrecision="7" /&amp;gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="DATETIMEOFFSET" ignoreLen="true" defaultPrecision="7" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="DECIMAL" defaultLength="20" defaultPrecision="10" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="DECIMAL IDENTITY" defaultLength="20"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;defaultPrecision="10" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;dbType type="FLOAT" ignorePre="true" /&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 17:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Conversion-Failure-using-dynamic-column/m-p/2277650#M53355</guid>
      <dc:creator>thorrocks</dc:creator>
      <dc:date>2019-02-04T17:36:09Z</dc:date>
    </item>
  </channel>
</rss>

