<?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: java.lang.NumberFormatException: For input string: &amp;quot;08:30:00&amp;quot; in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-For-input-string-quot-08-30-00/m-p/2267424#M46322</link>
    <description>&lt;P&gt;I have verified the Snowflake table. Colunms are defined as varchar in Snowflake table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2020 15:39:11 GMT</pubDate>
    <dc:creator>talendstar</dc:creator>
    <dc:date>2020-01-29T15:39:11Z</dc:date>
    <item>
      <title>java.lang.NumberFormatException: For input string: "08:30:00"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-For-input-string-quot-08-30-00/m-p/2267422#M46320</link>
      <description>&lt;P&gt;I am trying to load a table from SQL Server to Snowflake.&lt;/P&gt; 
&lt;P&gt;The data type in SQL Server is Time.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is what the tmap looks like:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tour.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8rK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155741iE2EFD995B9F85CB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8rK.png" alt="0683p000009M8rK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is the schema editor in tmap:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tour2.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8rP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138678iD0262B120ABBC342/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8rP.png" alt="0683p000009M8rP.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Originally I created the SF table with these columns setup as Time data type but that didn't work (I would like to keep the destination data type time).&lt;/P&gt; 
&lt;P&gt;However since I couldn't get that to work I changed the data type in Snowflake(SF) to varchar hoping TalendDate.formatDate can take the incoming time as output it as a string but not having much luck there either.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is the error that I get:&lt;/P&gt; 
&lt;P&gt;Exception in component tDBOutput_1 (DAILYTOURSLOTS)&lt;BR /&gt;java.lang.NumberFormatException: For input string: "08:30:00"&lt;BR /&gt;at java.lang.NumberFormatException.forInputString(Unknown Source)&lt;BR /&gt;at java.lang.Integer.parseInt(Unknown Source)&lt;BR /&gt;at java.lang.Integer.valueOf(Unknown Source)&lt;BR /&gt;at org.talend.codegen.enforcer.IncomingSchemaEnforcer.put(IncomingSchemaEnforcer.java:507)&lt;BR /&gt;at org.talend.codegen.enforcer.IncomingSchemaEnforcer.put(IncomingSchemaEnforcer.java:379)&lt;BR /&gt;at avbtalend71.dailytourslots_0_1.DAILYTOURSLOTS.tDBInput_1Process(DAILYTOURSLOTS.java:1734)&lt;BR /&gt;at avbtalend71.dailytourslots_0_1.DAILYTOURSLOTS.runJobInTOS(DAILYTOURSLOTS.java:2281)&lt;BR /&gt;at avbtalend71.dailytourslots_0_1.DAILYTOURSLOTS.main(DAILYTOURSLOTS.java:2107)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is what the source data for these columns looks like:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tour3.PNG" style="width: 130px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8hV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128250iF3DD817FD30DE34B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8hV.png" alt="0683p000009M8hV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any thoughts on how to process the time (field only contains time and does not have any date on it).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-For-input-string-quot-08-30-00/m-p/2267422#M46320</guid>
      <dc:creator>talendstar</dc:creator>
      <dc:date>2024-11-16T03:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NumberFormatException: For input string: "08:30:00"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-For-input-string-quot-08-30-00/m-p/2267423#M46321</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you must to check settings in the output component&amp;nbsp;&lt;SPAN&gt;tDBOutput_1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;possible in tMap you have defined columns as a String, but in database output component as Integer&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 00:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-For-input-string-quot-08-30-00/m-p/2267423#M46321</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2020-01-29T00:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NumberFormatException: For input string: "08:30:00"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-For-input-string-quot-08-30-00/m-p/2267424#M46322</link>
      <description>&lt;P&gt;I have verified the Snowflake table. Colunms are defined as varchar in Snowflake table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 15:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-For-input-string-quot-08-30-00/m-p/2267424#M46322</guid>
      <dc:creator>talendstar</dc:creator>
      <dc:date>2020-01-29T15:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.NumberFormatException: For input string: "08:30:00"</title>
      <link>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-For-input-string-quot-08-30-00/m-p/2267425#M46323</link>
      <description>&lt;P&gt;just to be 100% correct - did you check it in Studio component schema? (or in database?)&lt;/P&gt;&lt;P&gt;you need to check in tSnowFlakeOutput component, you can share the picture as well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 21:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/java-lang-NumberFormatException-For-input-string-quot-08-30-00/m-p/2267425#M46323</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2020-01-29T21:15:05Z</dc:date>
    </item>
  </channel>
</rss>

