Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Good morning,
I'm using Talend Open Studio for Big Data, version 5.4.
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:
"Incorrect table definition. There can only be one auto column and it must be defined as a key"
The SCD configuration and schema are below. I didn't find this issue elsewhere in the Help Center.
Has anyone else encountered this? Is there something wrong with how I followed the example?
Thanks,
Mitch
The tMysqlSCD_1 component also gives this error: "The schema from the input link "row2\" is different from the schema defined in the component"
Hi Mitch
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.
The tMysqlSCD_1 component also gives this error: "The schema from the input link "row2\" is different from the schema defined in the component"
The schema of tMysqlSCD should be the same as tLogRow, move the SK1 column from the schema of tMsqlSCD.