<?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: MySQL SCD Example in Components Guide in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217861#M13283</link>
    <description>Instead of using my own data, I copied the data in the example, and followed the same configuration. 
&lt;BR /&gt;Again, every row was rejected. This time, however, errorMessage said "Unknown column 'status' in 'field list' - Line: 0". The status header and data were included in the reject output, so there were no nulls or confusion there. 
&lt;BR /&gt;Any assistance would be greatly appreciated. A successful SCD operation is critical for the functionality I need, and it's frustrating to see a simple example consistently fail.</description>
    <pubDate>Fri, 06 Dec 2013 20:23:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-06T20:23:48Z</dc:date>
    <item>
      <title>MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217855#M13277</link>
      <description>&lt;P&gt;Good morning,&lt;BR /&gt;I'm using Talend Open Studio for Big Data, version 5.4. &lt;BR /&gt;I recreated the MySQL SCD example on p. 502 of the Components Guide, using my own data extract as a source. When I run it, I get the following error:&lt;BR /&gt;"Incorrect table definition. There can only be one auto column and it must be defined as a key"&lt;BR /&gt;The SCD configuration and schema are below. I didn't find this issue elsewhere in the Help Center.&lt;BR /&gt;Has anyone else encountered this? Is there something wrong with how I followed the example?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mitch&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;IMG src="https://community.qlik.com/" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217855#M13277</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217856#M13278</link>
      <description>Hi, &lt;BR /&gt;Have you read &lt;A href="https://help.talend.com/display/TalendComponentsReferenceGuide54EN/tMysqlSCD" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tMysqlSCD&lt;/A&gt; with the section of "SCD management methodologies".&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 27 Nov 2013 03:34:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217856#M13278</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-27T03:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217857#M13279</link>
      <description>Hi Sabrina,&lt;BR /&gt;Thank you for your prompt response. &lt;BR /&gt;I have reviewed that section of the Component Guide. The only discrepancy I noticed is that I did not map an input field for the surrogate key. The documentation implies that this is mandatory, but I set it to auto-increment (as in the example provided), so this shouldn't be an issue.&lt;BR /&gt;Is there some other factor that I'm missing, or am I misunderstanding the role of the input field?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Mitch</description>
      <pubDate>Mon, 02 Dec 2013 15:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217857#M13279</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-02T15:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217858#M13280</link>
      <description>This is what the job looks like: 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Mon, 02 Dec 2013 17:13:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217858#M13280</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-02T17:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217859#M13281</link>
      <description>The tMysqlSCD_1 component also gives this error: "The schema from the input link "row2\" is different from the schema defined in the component"&lt;BR /&gt;The output schema for tLogRow_1 is the same as the input schema for tMysqlSCD_1. The difference appears to be in the SCD output schema, with the additional fields. Open Studio ought to recognize them, and not throw an error (this would have come up in the example case).</description>
      <pubDate>Tue, 03 Dec 2013 14:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217859#M13281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-03T14:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217860#M13282</link>
      <description>I synced the columns in the MysqlSCD component, removing the SCD-specific fields. The "row2 schema" issue disappeared. 
&lt;BR /&gt;When I ran it, every row was rejected. The Rejects output shows the errorCode field as null, and errorMessage as "Unknown column '' in 'where clause' - Line: 0" .</description>
      <pubDate>Thu, 05 Dec 2013 16:42:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217860#M13282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-05T16:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217861#M13283</link>
      <description>Instead of using my own data, I copied the data in the example, and followed the same configuration. 
&lt;BR /&gt;Again, every row was rejected. This time, however, errorMessage said "Unknown column 'status' in 'field list' - Line: 0". The status header and data were included in the reject output, so there were no nulls or confusion there. 
&lt;BR /&gt;Any assistance would be greatly appreciated. A successful SCD operation is critical for the functionality I need, and it's frustrating to see a simple example consistently fail.</description>
      <pubDate>Fri, 06 Dec 2013 20:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217861#M13283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-06T20:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217862#M13284</link>
      <description>One other thing I noticed:&lt;BR /&gt;Previously, the SCD fields in the MysqlSCD schema were highlighted in green. This time, they aren't.&lt;BR /&gt;The "row2 schema" issue is still there, though.</description>
      <pubDate>Fri, 06 Dec 2013 20:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217862#M13284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-06T20:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217863#M13285</link>
      <description>I scrapped my current attempt, and started over. After a schema correction in LogRow_2, the example ran successfully (both initial and update). w00t! 
&lt;BR /&gt;So now I'm trying to build my own, and I'm running into problems again. First it was "Unknown column 'scd_end' in 'where clause' - Line: 0" when scd_start and scd_end were added in the SCD component. After I included scd_version and scd_active, I got "Unknown column 'scd_version' in 'field list' - Line: 0". 
&lt;BR /&gt;Has anyone seen these errors, and figured out why?</description>
      <pubDate>Mon, 09 Dec 2013 21:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217863#M13285</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-09T21:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217864#M13286</link>
      <description>*bump*</description>
      <pubDate>Mon, 16 Dec 2013 14:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217864#M13286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-16T14:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217865#M13287</link>
      <description>Anyone at all?</description>
      <pubDate>Fri, 20 Dec 2013 16:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217865#M13287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-20T16:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217866#M13288</link>
      <description>Happy New Year!</description>
      <pubDate>Tue, 07 Jan 2014 14:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217866#M13288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-07T14:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217867#M13289</link>
      <description>Hi,
&lt;BR /&gt;It looks like column is missing primary key column altogether or there is some difference in the schema of the table and the structure used.
&lt;BR /&gt;I would suggest to check the table structure, if it has one primary key column which is defined as auto_increment column. If not there already than define one. And again draw the graph freshly after refreshing the table metadata.
&lt;BR /&gt;It should automatically recognize the key column and should not face any issue in this new job.
&lt;BR /&gt;
&lt;BR /&gt;--
&lt;BR /&gt;Thanks &amp;amp; Regards,
&lt;BR /&gt;vinod_talend</description>
      <pubDate>Wed, 08 Jan 2014 13:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217867#M13289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-08T13:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217868#M13290</link>
      <description>Hi Vinod, 
&lt;BR /&gt;Thanks for your response. 
&lt;BR /&gt;The primary key column is not auto-increment, but the values are unique. The SCD component adds an auto-increment key column (SK1). 
&lt;BR /&gt;As for "some difference in the schema of the table and the structure used", I changed the order of the fields in the SCD schema, so they would match the incoming schema from the tLogRow; same result. 
&lt;BR /&gt;Any further advice would be greatly appreciated. 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks again, 
&lt;BR /&gt;Mitch</description>
      <pubDate>Wed, 08 Jan 2014 16:17:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217868#M13290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-08T16:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217869#M13291</link>
      <description>Hi Mitch 
&lt;BR /&gt;Can you please upload a screenshot of your table structure? There must be a auto-increment key column in the table, and set the name of the column in the surrogate key field; Also, a field called scd_start and a field called scd_end should be defined in the table if you uses type2 fields. 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;The tMysqlSCD_1 component also gives this error: "The schema from the input link "row2\" is different from the schema defined in the component"&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;The schema of tMysqlSCD should be the same as tLogRow, move the SK1 column from the schema of tMsqlSCD. 
&lt;BR /&gt; 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 09 Jan 2014 02:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217869#M13291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-09T02:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL SCD Example in Components Guide</title>
      <link>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217870#M13292</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi Mitch &lt;BR /&gt;Can you please upload a screenshot of your table structure? There must be a auto-increment key column in the table, and set the name of the column in the surrogate key field; Also, a field called scd_start and a field called scd_end should be defined in the table if you uses type2 fields.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi Shong, 
&lt;BR /&gt;Thanks for your response. 
&lt;BR /&gt;My table structure is attached. ORG_CD is the main key field, and SK1 is the auto-incrementing surrogate. 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt; 
     &lt;BLOCKQUOTE&gt; 
      &lt;TABLE border="1"&gt; 
       &lt;TBODY&gt; 
        &lt;TR&gt; 
         &lt;TD&gt;The tMysqlSCD_1 component also gives this error: "The schema from the input link "row2\" is different from the schema defined in the component"&lt;/TD&gt; 
        &lt;/TR&gt; 
       &lt;/TBODY&gt; 
      &lt;/TABLE&gt; 
     &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;The schema of tMysqlSCD should be the same as tLogRow, move the SK1 column from the schema of tMsqlSCD.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I'm not sure what you're asking for here. The surrogate is critical for the SCD; removing it to make the schemas match better would be counter-productive. 
&lt;BR /&gt; 
&lt;BR /&gt;Mitch 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt;</description>
      <pubDate>Thu, 09 Jan 2014 15:46:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/MySQL-SCD-Example-in-Components-Guide/m-p/2217870#M13292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-09T15:46:09Z</dc:date>
    </item>
  </channel>
</rss>

