<?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: Skipping tables which have been failed to migrate in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344621#M112256</link>
    <description>&lt;P&gt;Hi shong and bgunics,​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your suggestions!&lt;/P&gt;&lt;P&gt;I will try those and let you know how they go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2023 02:57:55 GMT</pubDate>
    <dc:creator>StreetTalender</dc:creator>
    <dc:date>2023-02-01T02:57:55Z</dc:date>
    <item>
      <title>Skipping tables which have been failed to migrate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344615#M112250</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a migration job that migrates a whole schema including all its tables.&lt;/P&gt;&lt;P&gt;However, there are some errors in the job, so I want to skip those tables which have errors, and output which tables have failed to migrate, so that I can create jobs for those tables individually.&lt;/P&gt;&lt;P&gt;Can anyone help me figuring out how to do it?&lt;/P&gt;&lt;P&gt;In my job, I use tDBTableList, in which it stores table names in a global variable to pass to tOracleInput.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Errors I have:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;in tDBinput, ORA-00942: table or view does not exist&lt;/LI&gt;&lt;LI&gt;in tDBoutput, ORA-01723: ORA-01723: zero-length columns are not allowed&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job design:&lt;/P&gt;&lt;P&gt;----------------------------------------​&lt;/P&gt;&lt;P&gt;tOracleConnection1-oncomponentok-tOracleConnection2&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tOracleTableList--iterate--tOracleInput--main--tOracleOutput--oncomponentok--tOracleCommit&lt;/P&gt;&lt;P&gt;|onsubjobok&lt;/P&gt;&lt;P&gt;tOracleClose1--oncomponentok--tOracleClose2&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;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344615#M112250</guid>
      <dc:creator>StreetTalender</dc:creator>
      <dc:date>2024-11-15T22:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Skipping tables which have been failed to migrate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344616#M112251</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thank you for reaching out!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regarding this error message: ORA-00942: table or view does not exist&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This could happen for one of these reasons:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Referencing a table or view that does not exist&lt;/P&gt;&lt;P&gt;- Using an unauthorized synonym&lt;/P&gt;&lt;P&gt;- Using an expression of view where a table is required&lt;/P&gt;&lt;P&gt;- Attempting to use a table without proper permission or privilege&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please verify these points using this article:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.tekstream.com/resource-center/ora-00942-table-or-view-does-not-exist/#:~:text=You%20may%20be%20seeing%20the,table%20by%20the%20schema%20name" alt="https://www.tekstream.com/resource-center/ora-00942-table-or-view-does-not-exist/#:~:text=You%20may%20be%20seeing%20the,table%20by%20the%20schema%20name" target="_blank"&gt;https://www.tekstream.com/resource-center/ora-00942-table-or-view-does-not-exist/#:~:text=You%20may%20be%20seeing%20the,table%20by%20the%20schema%20name&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for ORA-01723: ORA-01723: zero-length columns are not allowed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try the below workaround to increase the dynamic schema length to more than 100 (default max is 100) and let me know your observations:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- In the Talend Studio, click the Window button on top menu bar.&lt;/P&gt;&lt;P&gt;- select Show View and then scroll down to Navigator and then double click it&lt;/P&gt;&lt;P&gt;- go to Navigator --&amp;gt; Java --&amp;gt; src --&amp;gt; main --&amp;gt; resources --&amp;gt; xmlMappings then edit the mapping .xml file&lt;/P&gt;&lt;P&gt;- look for type="VARCHAR" &amp;amp; defaultLengh="200" then change it to type="VARCHAR" ignoreLen="true"&lt;/P&gt;&lt;P&gt;- then save it then run the job, it will insert data has length more than 100 to the database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 16:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344616#M112251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-27T16:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Skipping tables which have been failed to migrate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344617#M112252</link>
      <description>&lt;P&gt;Hi @Yussef Saleh​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding ORA-00942: table or view does not exist,&lt;/P&gt;&lt;P&gt;the execution log from TMC does not show any info to figure out which table is the problem. as I am using dynamic schema which handles thousands of tables, I cannot go through all tables to find out which table is the problem.&lt;/P&gt;&lt;P&gt;Could you let me know a way to find that out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for ORA-01723: ORA-01723: zero-length columns are not allowed,&lt;/P&gt;&lt;P&gt;Im my Talend studio, I could not find “Java“ folder under Navigator. (Also Navigator was marked as “depricated“, if that matters)&lt;/P&gt;&lt;P&gt;Could Java folder be anywhere else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 07:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344617#M112252</guid>
      <dc:creator>StreetTalender</dc:creator>
      <dc:date>2023-01-28T07:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Skipping tables which have been failed to migrate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344618#M112253</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Go to the the Day of the tip &lt;A href="https://community.talend.com/s/tips" alt="https://community.talend.com/s/tips" target="_blank"&gt;page &lt;/A&gt;and read the tip of Sep 27, 2022, this tip shows you how to catch the exception, output the current table name if there is an error occurs, and continue to execute the next table. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jan 2023 08:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344618#M112253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-28T08:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Skipping tables which have been failed to migrate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344619#M112254</link>
      <description>&lt;P&gt;I'd consider creating 2 levels.&lt;/P&gt;&lt;P&gt;MASTER job would list the tables  you want to migrate.&lt;/P&gt;&lt;P&gt;WORKER would do the actual lift &amp;amp; shift.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inbetween the 2 you can use Iterate link + have the ability to configure the number of threads to be used. (To make things faster.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then it's only letting the child job die/crash, and OnSubjobError on the parent to trigger a tFixedFlowInput (tablename) -&amp;gt; tFileOutputDelimited (failures).&lt;/P&gt;&lt;P&gt;Or raising a FATAL log message that you can redirect to a dedicated log4j appender for logging errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think both of your errors are related to quotes. &lt;/P&gt;&lt;P&gt;SELECT * FROM FOO;  SELECT * FROM foo; SELECT * FROM FoO;   --&amp;gt; equivalent&lt;/P&gt;&lt;P&gt;But if you have a table defined as: FoO  yuo can only query it by:&lt;/P&gt;&lt;P&gt;SELECT * FROM "FoO";  (so quoting is necesary)&lt;/P&gt;&lt;P&gt;Same is true for the columns:&lt;/P&gt;&lt;P&gt;If I have 2 columns: "HI," and "HOLA"&lt;/P&gt;&lt;P&gt;SELECT HI, , HOLA  FROM TABLE   -&amp;gt;  0 length column.&lt;/P&gt;&lt;P&gt;SELECT "HI," , "HOLA" FROM "TABLE" is what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe enable debug logs to see the queries executed by Talend against your database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There should be no need to create custom jobs. I migrated a million different tables using Dynamic schema between different database types.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2023 14:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344619#M112254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-29T14:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Skipping tables which have been failed to migrate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344620#M112255</link>
      <description>&lt;P&gt;Worth adding a tWarn / tJobLog to dump the tablename you're working with/on.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2023 14:57:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344620#M112255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-29T14:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Skipping tables which have been failed to migrate</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344621#M112256</link>
      <description>&lt;P&gt;Hi shong and bgunics,​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your suggestions!&lt;/P&gt;&lt;P&gt;I will try those and let you know how they go.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2023 02:57:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Skipping-tables-which-have-been-failed-to-migrate/m-p/2344621#M112256</guid>
      <dc:creator>StreetTalender</dc:creator>
      <dc:date>2023-02-01T02:57:55Z</dc:date>
    </item>
  </channel>
</rss>

