<?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: Loading data from SQL Server to redshift error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Loading-data-from-SQL-Server-to-redshift-error/m-p/2240285#M27830</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; The error says that you are trying to load an invalid value to integer.&lt;/P&gt; 
&lt;P&gt;"&lt;SPAN&gt;&amp;nbsp; Error Detail: "Invalid digit, Value '-', Pos 4, Type: Short "&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Could you please print the value using a tLogrow and see whether you have mapped the columns correctly?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Jul 2019 16:18:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-21T16:18:36Z</dc:date>
    <item>
      <title>Loading data from SQL Server to redshift error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loading-data-from-SQL-Server-to-redshift-error/m-p/2240284#M27829</link>
      <description>&lt;P&gt;Hello Talendians,&lt;/P&gt; 
&lt;P&gt;I have a simple talend job which extracts data from a sql server table and loads into redshift table. I am loading the records into a csv file and then to s3 before finally inserting into redshift table. My job is running into errors because there are 2 additional columns in my redshift table..i.e, Mobile_phone and zip_Code that are not present in source. These columns are nullable in my target. How can i overcome my problem?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Source Columns:&amp;nbsp;site_id,&lt;BR /&gt;id,&lt;BR /&gt;contest_id,&lt;BR /&gt;member_game_id,&lt;BR /&gt;member_guid,&lt;BR /&gt;firstname,&lt;BR /&gt;lastname,&lt;BR /&gt;email,&lt;BR /&gt;birthdate,&lt;BR /&gt;accept_terms,&lt;BR /&gt;email_opt_in,&lt;BR /&gt;created,&lt;BR /&gt;modified.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Target:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;site_id integer not null&lt;BR /&gt;id integer not null distkey,&lt;BR /&gt;contest_id integer not null,&lt;BR /&gt;member_game_id integer not null,&lt;BR /&gt;member_guid char(20) not null,&lt;BR /&gt;firstname varchar(255) not null,&lt;BR /&gt;lastname varchar(255) not null,&lt;BR /&gt;email varchar(255) default ''::character varying not null,&lt;BR /&gt;mobile_phone varchar(30),&lt;BR /&gt;zip_code varchar(50),&lt;BR /&gt;birthdate date,&lt;BR /&gt;accept_terms smallint default 1::smallint,&lt;BR /&gt;email_opt_in smallint default 0::smallint not null,&lt;BR /&gt;created timestamp,&lt;BR /&gt;modified timestamp,&lt;BR /&gt;etl_batch_id integer not null&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The error is as below:&lt;/P&gt; 
&lt;P&gt;&lt;U&gt;colname: type :col_length &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;osition :raw_line :err_reason&lt;/U&gt; ---&amp;gt;&lt;BR /&gt;accept_terms ,int2 ,0 ,133,"19"~"48253"~"20"~"2166790"~"19-10904087 "~"Gabrielle"~"Dean"~"gabrielletsmart@netscape.net"~"1981-11-06 00:00:00"~"1"~"0"~"2019-07-15 11:48:07"~"2019-07-15 11:48:07"~"164177" ,&amp;nbsp; Error Detail: "Invalid digit, Value '-', Pos 4, Type: Short "&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am attaching the data flow in the below screenshot. I believe i am missing an additional parameter and thats causing the issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please help me with the issue.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:13:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loading-data-from-SQL-Server-to-redshift-error/m-p/2240284#M27829</guid>
      <dc:creator>desanip</dc:creator>
      <dc:date>2024-11-16T05:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data from SQL Server to redshift error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loading-data-from-SQL-Server-to-redshift-error/m-p/2240285#M27830</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; The error says that you are trying to load an invalid value to integer.&lt;/P&gt; 
&lt;P&gt;"&lt;SPAN&gt;&amp;nbsp; Error Detail: "Invalid digit, Value '-', Pos 4, Type: Short "&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Could you please print the value using a tLogrow and see whether you have mapped the columns correctly?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jul 2019 16:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loading-data-from-SQL-Server-to-redshift-error/m-p/2240285#M27830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-21T16:18:36Z</dc:date>
    </item>
  </channel>
</rss>

