<?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 Dynamic Schema Oracle / CSV file issues (ORA-01843: not a valid month) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-Oracle-CSV-file-issues-ORA-01843-not-a-valid/m-p/2371505#M134444</link>
    <description>Hello, 
&lt;BR /&gt;I've designed a simple job to read a CSV file dynamically, use the dynamic schema option, and load the data into an Oracle database table. 
&lt;BR /&gt;But I'm running into "ORA-01843: not a valid month" error because the dynamic schema functionality is not correctly parsing the date field, even though my date pattern matches the format of the date in the CSV file. My date is of format "dd-MM-yyyy'T'HH:mm:ss", and my date matches that format. However, my job fails... I'm tried it all ways - dd-MM, MM-dd, yyyy-dd-MM, yyyy-MM-dd etc... - no luck... 
&lt;BR /&gt;I found a jira on this issue - 
&lt;A href="https://jira.talendforge.org/browse/TDI-21970" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-21970&lt;/A&gt; - but it was closed with no remediation. 
&lt;BR /&gt;Would appreciate any help.... 
&lt;BR /&gt;Thanks... 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MELO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137280i6F089FCEEE4A70A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MELO.png" alt="0683p000009MELO.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MELT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155679i4FFAB405A1451FC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MELT.png" alt="0683p000009MELT.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MELY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142880i1AC76AB91A298055/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MELY.png" alt="0683p000009MELY.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Sat, 16 Nov 2024 11:37:16 GMT</pubDate>
    <dc:creator>willm1</dc:creator>
    <dc:date>2024-11-16T11:37:16Z</dc:date>
    <item>
      <title>Dynamic Schema Oracle / CSV file issues (ORA-01843: not a valid month)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-Oracle-CSV-file-issues-ORA-01843-not-a-valid/m-p/2371505#M134444</link>
      <description>Hello, 
&lt;BR /&gt;I've designed a simple job to read a CSV file dynamically, use the dynamic schema option, and load the data into an Oracle database table. 
&lt;BR /&gt;But I'm running into "ORA-01843: not a valid month" error because the dynamic schema functionality is not correctly parsing the date field, even though my date pattern matches the format of the date in the CSV file. My date is of format "dd-MM-yyyy'T'HH:mm:ss", and my date matches that format. However, my job fails... I'm tried it all ways - dd-MM, MM-dd, yyyy-dd-MM, yyyy-MM-dd etc... - no luck... 
&lt;BR /&gt;I found a jira on this issue - 
&lt;A href="https://jira.talendforge.org/browse/TDI-21970" target="_blank" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-21970&lt;/A&gt; - but it was closed with no remediation. 
&lt;BR /&gt;Would appreciate any help.... 
&lt;BR /&gt;Thanks... 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MELO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137280i6F089FCEEE4A70A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MELO.png" alt="0683p000009MELO.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MELT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155679i4FFAB405A1451FC9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MELT.png" alt="0683p000009MELT.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MELY.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142880i1AC76AB91A298055/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MELY.png" alt="0683p000009MELY.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-Oracle-CSV-file-issues-ORA-01843-not-a-valid/m-p/2371505#M134444</guid>
      <dc:creator>willm1</dc:creator>
      <dc:date>2024-11-16T11:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Schema Oracle / CSV file issues (ORA-01843: not a valid month)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-Oracle-CSV-file-issues-ORA-01843-not-a-valid/m-p/2371506#M134445</link>
      <description>At first I would send the output to a tLogRow to inspect what you get.
&lt;BR /&gt;You example text let me think the date pattern does not need the T in the middle. "dd-MM-yyyy HH:mm:ss" should be fine.
&lt;BR /&gt;It is a bit strange use case. Your read in a couple of files and creates the tables according to the file structure? What if the file change a little bit (e.g. one column more or less?).
&lt;BR /&gt;I would never do such things. I would make a pre processing job which inspects the files and notifies structure changes and build all necessary tables.</description>
      <pubDate>Thu, 05 Jun 2014 20:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-Oracle-CSV-file-issues-ORA-01843-not-a-valid/m-p/2371506#M134445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-05T20:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Schema Oracle / CSV file issues (ORA-01843: not a valid month)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-Oracle-CSV-file-issues-ORA-01843-not-a-valid/m-p/2371507#M134446</link>
      <description>Thanks @jlolling... I tried without the 'T' and it didn't work either... I'm going to implement some other workarounds suggested by Bekwam.
&lt;BR /&gt;About this pattern - isn't that what dynamic schema are all about? Wouldn't you say the same of any job that uses built-in or repo schemas? We design to particular schemas in our jobs and our jobs would naturally break when the file schema differs from the one our job is using. So the expectation is that we have some sort of baseline... If we had to preprocess every kind of file, wouldn't that be overhead? In your case, you'd have the benefit of exiting gracefully with a nice clean message. In my case, it would be the nasty stacktrace but I'd have spared myself the effort of building and executing preprocessing...
&lt;BR /&gt;Thanks for responding... I appreciate it...
&lt;BR /&gt;Will</description>
      <pubDate>Fri, 06 Jun 2014 19:02:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-Oracle-CSV-file-issues-ORA-01843-not-a-valid/m-p/2371507#M134446</guid>
      <dc:creator>willm1</dc:creator>
      <dc:date>2014-06-06T19:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Schema Oracle / CSV file issues (ORA-01843: not a valid month)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-Oracle-CSV-file-issues-ORA-01843-not-a-valid/m-p/2371508#M134447</link>
      <description>&lt;P&gt;Hi Team,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I am also getting same error , while loading data in oracle database .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the testing purpose i extracted the data from the table and created a file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in the next job i tried to load that file into the same table using dynamic schema but it saying Not a valid month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My use case is - i am having 16 files with different different schemas and want to create a job which load these files in oracle.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Mar 2020 11:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Schema-Oracle-CSV-file-issues-ORA-01843-not-a-valid/m-p/2371508#M134447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-15T11:24:10Z</dc:date>
    </item>
  </channel>
</rss>

