<?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: Error on tDBOutput using dynamic schema when there is a VARBINERY data type in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335388#M103952</link>
    <description>&lt;P&gt;Hello @Qing Yang​&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same feeling with you actually. Could you show the full exception stack?&lt;/P&gt;&lt;P&gt;Let me check it with our component experts firstly and then come back to you as soon as possible.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 07:39:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-11-30T07:39:23Z</dc:date>
    <item>
      <title>Error on tDBOutput using dynamic schema when there is a VARBINERY data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335383#M103947</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;My source and target are both jdbc mssqlserver. I'm using dynamic schema to load a table contains two columns in VARBINARY. I'm getting errors on the tDbOutput component saying: java.lang.UnsupportedOperationException: Unrecognized type id_Object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the tDBInput component is's uing the default MSSQL mapping file for Dynamic with below setting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;				&amp;lt;talendType type="id_Object"&amp;gt;	&lt;/P&gt;&lt;P&gt;					&amp;lt;dbType type="VARBINARY" default="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;					&amp;lt;dbType type="IMAGE"&amp;gt;&amp;lt;/dbType&amp;gt;&lt;/P&gt;&lt;P&gt;					&amp;lt;dbType type="SQL_VARIANT" /&amp;gt;&lt;/P&gt;&lt;P&gt;					&amp;lt;dbType type="UNIQUEIDENTIFIER" /&amp;gt;&lt;/P&gt;&lt;P&gt;				&amp;lt;/talendType&amp;gt;&lt;/P&gt;&lt;P&gt;				&amp;lt;dbType type="VARBINARY"&amp;gt;&lt;/P&gt;&lt;P&gt;					&amp;lt;talendType type="id_Object" default="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;				&amp;lt;/dbType&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please help this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335383#M103947</guid>
      <dc:creator>Qing</dc:creator>
      <dc:date>2024-11-15T22:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error on tDBOutput using dynamic schema when there is a VARBINERY data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335384#M103948</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What's JDK version are you using and could you please&amp;nbsp;clarify in which Talend version/edition you are?&lt;/P&gt;&lt;P&gt;"java.lang.UnsupportedOperationException: Unrecognized type id_Object"&lt;/P&gt;&lt;P&gt;The above error was due to the db Type in the mapping files are not compatible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you mentioned that your source and target are both jdbc mssql server, what's your source and target mssql server version? The same version?&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 03:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335384#M103948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-30T03:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error on tDBOutput using dynamic schema when there is a VARBINERY data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335385#M103949</link>
      <description>&lt;P&gt;Hi Sabrina, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.  JDK is at 11.0.16. Talend is on 8.0.1 R2022-07. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Source is on SQL Server 14.0 (2017) and target is 13.0 (2016).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Qing&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 04:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335385#M103949</guid>
      <dc:creator>Qing</dc:creator>
      <dc:date>2022-11-30T04:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error on tDBOutput using dynamic schema when there is a VARBINERY data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335386#M103950</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have seen a similar issue before but not the same case as the source is MSSql server and target is snowflake.&lt;/P&gt;&lt;P&gt;Please see the following details&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception in component tSnowflakeOutput_1 (testJob)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;java.lang.UnsupportedOperationException: Unrecognized type id_Object&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;at org.talend.daikon.di.DiIncomingSchemaEnforcer.diToAvro(DiIncomingSchemaEnforcer.java:199)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;at org.talend.daikon.di.DiIncomingSchemaEnforcer.addDynamicField(DiIncomingSchemaEnforcer.java:149)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;at local_project651.testjob_0_1.testJob.tMSSqlInput_1Process(testJob.java:1220)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;at local_project651.testjob_0_1.testJob.runJobInTOS(testJob.java:2728)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;at local_project651.testjob_0_1.testJob.main(testJob.java:2541)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Root Cause&lt;/P&gt;&lt;P&gt;The above error was due to the dbType in the mapping files are not compatible. For example of the test job for the error above; the job retrieve data from the table name account1 in Microsoft Server database then insert data into SnowFlake database. Both tables in both database has the same columns and the same datatype (note: datatype is not the same as dbType) in the schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When customer used the dynamic schema in their job to retrieve data from the dabase (ex: SQL Server in this case) then insert data into SnowFlake with dynamic schema. The dbType of input columns in the job (ex: tMSSqlInput) will be rely on the setting in the Talend Type Mapping Files. For this case, it is the mapping_MSSQL.xml. For the dbType of Money in the mapping_MSSQL.xml file for acct_balance column; the setting is only has&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;dbType type="MONEY"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;talendType type="id_Object" default="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;/dbType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in the mapping_Snowflake.xml, there is no dbType of MONEY. It only has the type (which is datatype) of Double:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;dbType type="DOUBLE"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;talendType type="id_Double" default="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;/dbType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Therefore, when it passes data from the tMSSqlInput component to tSnowflakeOutput component, it is error out in the tSnowflakeOutput component for not recognize the id_Object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The easy way to fix this error is, we need to change the dbType from id_Object to id_Double for the MONEY in the mapping_MSSQL.xml file. So, it is compatible to the mapping_Snowflake.xml. To do this by follow below steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open the studio&lt;/P&gt;&lt;P&gt;Navigate to File&lt;/P&gt;&lt;P&gt;Click on Edit Project properties&lt;/P&gt;&lt;P&gt;Expand the General&lt;/P&gt;&lt;P&gt;Click on the Metadata of TalendType&lt;/P&gt;&lt;P&gt;Scroll down then click on the mapping_MSSQL.xml and then click Edit&lt;/P&gt;&lt;P&gt;Scroll down the mapping_MSSQL.xml file to the tag &amp;lt;dbType type="MONEY"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;dbType type="MONEY"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;talendType type="id_Object" default="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;/dbType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then change from &amp;lt;talendType type="id_Object" default="true" /&amp;gt; in the tag &amp;lt;dbType type="MONEY"&amp;gt; to &amp;lt;talendType type="id_Double" default="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;dbType type="MONEY"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;talendType type="id_Object" default="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;/dbType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;dbType type="MONEY"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;talendType type="id_Double" default="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;/dbType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After, made the above change then ran the job; the job should works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or maybe you could choose just the columns which are not causing the problem if you have a mass volume of tables and data, the tables which probably causes the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 05:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335386#M103950</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-30T05:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error on tDBOutput using dynamic schema when there is a VARBINERY data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335387#M103951</link>
      <description>&lt;P&gt;Hi Sabrina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and I understand this issue but my case is SQL Server to SQL Server.  Correct me if I'm wrong, it should use the same mapping_MSSQL.xml file for both input and output. In my current file, it is :&lt;/P&gt;&lt;P&gt;&amp;lt;dbType type="VARBINARY"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;talendType type="id_Object" default="true" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/dbType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I don't understand why I'm getting Unrecognized type id_Object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Qing&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 06:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335387#M103951</guid>
      <dc:creator>Qing</dc:creator>
      <dc:date>2022-11-30T06:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error on tDBOutput using dynamic schema when there is a VARBINERY data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335388#M103952</link>
      <description>&lt;P&gt;Hello @Qing Yang​&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same feeling with you actually. Could you show the full exception stack?&lt;/P&gt;&lt;P&gt;Let me check it with our component experts firstly and then come back to you as soon as possible.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 07:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335388#M103952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-30T07:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error on tDBOutput using dynamic schema when there is a VARBINERY data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335389#M103953</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please&amp;nbsp;also raise a case with Talend Support, this issue should be reproducable by support with remote assistance and if that's the case then R&amp;amp;D can be involved easily.&lt;/P&gt;&lt;P&gt;Feel free to post your issue on Community.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 09:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-on-tDBOutput-using-dynamic-schema-when-there-is-a/m-p/2335389#M103953</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-11-30T09:16:36Z</dc:date>
    </item>
  </channel>
</rss>

