<?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: tHashInput fails Type mismatch: cannot convert string to date.  using SalesForce source in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358615#M123607</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I have tried just now, it works fine.&lt;/P&gt; 
&lt;P&gt;So, I think the problem you have is due to a&amp;nbsp;desynchronization between your tHashOutput and tHashInputSchema.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 460px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ls8u.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136221iB9E8A8352E26FEB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ls8u.png" alt="0683p000009Ls8u.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrPw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148786iD1A15429D04E2616/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrPw.png" alt="0683p000009LrPw.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ls4X.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135721i27FF1FDCDBB74E47/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ls4X.png" alt="0683p000009Ls4X.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2017 10:03:11 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-12-07T10:03:11Z</dc:date>
    <item>
      <title>tHashInput fails Type mismatch: cannot convert string to date.  using SalesForce source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358610#M123602</link>
      <description>&lt;P&gt;Recently, I found an existing job began to fail due to the use of a deprecated salesforce API version being used in my Talend job.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've since updated Talend Studio to 6.4.1 and am using version 39 of SalesForce API. I retrieved the schema to update the field definitions etc. Unfortunately I am now receiving a type mismatch error in the tHashInput action. The action is consuming SalesForce Contact object. Initially, I had a very large number of type mismatch errors, and I began reducing the number of fields "used" in the action. I was able to narrow down a specific example to post here for some guidance.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"CreatedDate" and "LastModifiedDate" are system fields in SalesForce within the Contact object. The schema correctly classifies these fields as date fields with a date pattern. If these fields are included in the tHashInput action, I receive the error "Type mismatch: cannot convert from String to Date" for each of these fields. What gives? I've spent hours trying various things to resolve and I've officially hit a wall. Please help!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358610#M123602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: tHashInput fails Type mismatch: cannot convert string to date.  using SalesForce source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358611#M123603</link>
      <description>Hi,&lt;BR /&gt;What's the datatype for these fields in the associated tHashOutput component which, I suppose, is connected to the tSalesforceInput?&lt;BR /&gt;Probably String.&lt;BR /&gt;Also an other Double field you try to match to a String.</description>
      <pubDate>Wed, 06 Dec 2017 22:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358611#M123603</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-12-06T22:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: tHashInput fails Type mismatch: cannot convert string to date.  using SalesForce source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358612#M123604</link>
      <description>&lt;P&gt;Hi TRF,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you look at the attached screenshot, the column is selected to be Date with a Date Pattern defined.&amp;nbsp; The tHashInput/Output is fed into a tMap. If you look at the original screenshot attached to this post, you can see that the error is occurring directly on the tHashInput action.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I did not follow your comment&amp;nbsp;"&lt;SPAN&gt;Also an other Double field you try to match to a String". Can you clarify? Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lroc"&gt;2017-12-06_17-27-48.jpg&lt;/A&gt;</description>
      <pubDate>Wed, 06 Dec 2017 22:31:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358612#M123604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T22:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: tHashInput fails Type mismatch: cannot convert string to date.  using SalesForce source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358613#M123605</link>
      <description>Double check schemas are aligned for tSalesforceInput, tHashOutput and tHashInput. I can't try now, but I'm almost sure the problem comes from here.
&lt;BR /&gt;As shown by the error message, you got the problem for 3 fields, not only the 2 you mentionned.</description>
      <pubDate>Wed, 06 Dec 2017 22:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358613#M123605</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-12-06T22:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: tHashInput fails Type mismatch: cannot convert string to date.  using SalesForce source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358614#M123606</link>
      <description>&lt;P&gt;Yes, I'm having difficult with other fields as well, but wanted to at least focus on these two fields first and hopefully the root cause for all fields is the same.&amp;nbsp; As you can see from the tSalesforceInput action, the field definition is Date with the same date pattern.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-12-06_17-43-27.jpg" style="width: 871px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsAK.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131653iE933027E41926BE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsAK.jpg" alt="0683p000009LsAK.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 22:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358614#M123606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T22:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: tHashInput fails Type mismatch: cannot convert string to date.  using SalesForce source</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358615#M123607</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I have tried just now, it works fine.&lt;/P&gt; 
&lt;P&gt;So, I think the problem you have is due to a&amp;nbsp;desynchronization between your tHashOutput and tHashInputSchema.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 460px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ls8u.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136221iB9E8A8352E26FEB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ls8u.png" alt="0683p000009Ls8u.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrPw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148786iD1A15429D04E2616/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrPw.png" alt="0683p000009LrPw.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ls4X.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135721i27FF1FDCDBB74E47/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ls4X.png" alt="0683p000009Ls4X.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 10:03:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tHashInput-fails-Type-mismatch-cannot-convert-string-to-date/m-p/2358615#M123607</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-12-07T10:03:11Z</dc:date>
    </item>
  </channel>
</rss>

