Duplicate entry for primary key error for kettke transformation(job)Date format and data extract from Pentaho Kettle SpoonPentaho Data Integration: Error HandlingDuplicating a job in Pentaho Data Integration for different connectionsError initializing UserDefinedJavaClassNot able to get system data at the end of transformation stepPentaho Error: Duplicate entry for non primary keyUnexpected error occurred while launching entryPDI: Output only if no errorsPentaho Error: Duplicate entry for key 'PRIMARY'Recursive lookup to find ultimate parent of any parent-child relationship using pentaho
How long would it take to cross the Channel in 1890's?
Inverse-quotes-quine
Why is C++ initial allocation so much larger than C's?
Can White Castle?
Find the probability that the 8th woman to appear is in 17th position.
How can I politely work my way around not liking coffee or beer when it comes to professional networking?
Links to webpages in books
How do I respond to requests for a "guarantee" not to leave after a few months?
Require advice on power conservation for backpacking trip
Why did pressing the joystick button spit out keypresses?
Does Marvel have an equivalent of the Green Lantern?
What is the origin of Scooby-Doo's name?
How dangerous are set-size assumptions?
Vanishing of certain coefficients coming from Coxeter groups
Can humans ever directly see a few photons at a time? Can a human see a single photon?
Why do some games show lights shine thorugh walls?
Is it damaging to turn off a small fridge for two days every week?
Why do all the teams that I have worked with always finish a sprint without completion of all the stories?
Hand soldering SMD 1206 components
Are all instances of trolls turning to stone ultimately references back to Tolkien?
Folding basket - is there such a thing?
What's currently blocking the construction of the wall between Mexico and the US?
What are the penalties for overstaying in USA?
Does squid ink pasta bleed?
Duplicate entry for primary key error for kettke transformation(job)
Date format and data extract from Pentaho Kettle SpoonPentaho Data Integration: Error HandlingDuplicating a job in Pentaho Data Integration for different connectionsError initializing UserDefinedJavaClassNot able to get system data at the end of transformation stepPentaho Error: Duplicate entry for non primary keyUnexpected error occurred while launching entryPDI: Output only if no errorsPentaho Error: Duplicate entry for key 'PRIMARY'Recursive lookup to find ultimate parent of any parent-child relationship using pentaho
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have 1-table input 1-row filter 1-table output in my spoon transformation. I put this transformation in a Job.
I am getting error:
" Caused by: java.sql.BatchUpdateException: Duplicate entry '1000' for
key 'PRIMARY'
I have checked the input table but there it has only one entry for primary key = 1000.
can someone tell me what is going wrong here?
Thank you
pentaho kettle pentaho-spoon pentaho-data-integration
|
show 3 more comments
I have 1-table input 1-row filter 1-table output in my spoon transformation. I put this transformation in a Job.
I am getting error:
" Caused by: java.sql.BatchUpdateException: Duplicate entry '1000' for
key 'PRIMARY'
I have checked the input table but there it has only one entry for primary key = 1000.
can someone tell me what is going wrong here?
Thank you
pentaho kettle pentaho-spoon pentaho-data-integration
1
The error indicates that it occurs on the table output step. Are you sure the entry doesn't exist already in the output table?
– Etienne Ott
Mar 25 at 10:37
based on my transformation design, if the table input has only one entry for primary key then table output should have only one entry. I have checked there is only one entry in table input. but still table output is inserting it again, pls find my transformation here lh3.googleusercontent.com/-hC76HYdt-mE/XJnhBi3L8DI/AAAAAAAAnKU/… "transformation"
– Naresh Vadla
Mar 26 at 8:18
Is the output table cleared/truncated before each run of the transformation? The table output step, in contrast to the insert/update step, does not check if the output table already contains the row to write and will fail when the database server complains about the violated constraint on the primary key (as it is not unique). If the transformation should run multiple times, then an insert/update step would be better.
– Etienne Ott
Mar 26 at 8:24
Thank you. This is the first time i am running the transformation. table is truncated and then running the transformation.
– Naresh Vadla
Mar 26 at 10:47
Okay, those were my first two guesses as to what's wrong. Could you update the question with the code of the transformation? An image isn't helping much. You can find out the code by opening the kettle file (.ktr) with a text editor and copying the entire XML content. PLEASE make sure to edit out the database connection credentials.
– Etienne Ott
Mar 26 at 10:56
|
show 3 more comments
I have 1-table input 1-row filter 1-table output in my spoon transformation. I put this transformation in a Job.
I am getting error:
" Caused by: java.sql.BatchUpdateException: Duplicate entry '1000' for
key 'PRIMARY'
I have checked the input table but there it has only one entry for primary key = 1000.
can someone tell me what is going wrong here?
Thank you
pentaho kettle pentaho-spoon pentaho-data-integration
I have 1-table input 1-row filter 1-table output in my spoon transformation. I put this transformation in a Job.
I am getting error:
" Caused by: java.sql.BatchUpdateException: Duplicate entry '1000' for
key 'PRIMARY'
I have checked the input table but there it has only one entry for primary key = 1000.
can someone tell me what is going wrong here?
Thank you
pentaho kettle pentaho-spoon pentaho-data-integration
pentaho kettle pentaho-spoon pentaho-data-integration
edited Mar 25 at 12:18
Tomka Koliada
1,2622 gold badges8 silver badges28 bronze badges
1,2622 gold badges8 silver badges28 bronze badges
asked Mar 25 at 9:38
Naresh VadlaNaresh Vadla
103 bronze badges
103 bronze badges
1
The error indicates that it occurs on the table output step. Are you sure the entry doesn't exist already in the output table?
– Etienne Ott
Mar 25 at 10:37
based on my transformation design, if the table input has only one entry for primary key then table output should have only one entry. I have checked there is only one entry in table input. but still table output is inserting it again, pls find my transformation here lh3.googleusercontent.com/-hC76HYdt-mE/XJnhBi3L8DI/AAAAAAAAnKU/… "transformation"
– Naresh Vadla
Mar 26 at 8:18
Is the output table cleared/truncated before each run of the transformation? The table output step, in contrast to the insert/update step, does not check if the output table already contains the row to write and will fail when the database server complains about the violated constraint on the primary key (as it is not unique). If the transformation should run multiple times, then an insert/update step would be better.
– Etienne Ott
Mar 26 at 8:24
Thank you. This is the first time i am running the transformation. table is truncated and then running the transformation.
– Naresh Vadla
Mar 26 at 10:47
Okay, those were my first two guesses as to what's wrong. Could you update the question with the code of the transformation? An image isn't helping much. You can find out the code by opening the kettle file (.ktr) with a text editor and copying the entire XML content. PLEASE make sure to edit out the database connection credentials.
– Etienne Ott
Mar 26 at 10:56
|
show 3 more comments
1
The error indicates that it occurs on the table output step. Are you sure the entry doesn't exist already in the output table?
– Etienne Ott
Mar 25 at 10:37
based on my transformation design, if the table input has only one entry for primary key then table output should have only one entry. I have checked there is only one entry in table input. but still table output is inserting it again, pls find my transformation here lh3.googleusercontent.com/-hC76HYdt-mE/XJnhBi3L8DI/AAAAAAAAnKU/… "transformation"
– Naresh Vadla
Mar 26 at 8:18
Is the output table cleared/truncated before each run of the transformation? The table output step, in contrast to the insert/update step, does not check if the output table already contains the row to write and will fail when the database server complains about the violated constraint on the primary key (as it is not unique). If the transformation should run multiple times, then an insert/update step would be better.
– Etienne Ott
Mar 26 at 8:24
Thank you. This is the first time i am running the transformation. table is truncated and then running the transformation.
– Naresh Vadla
Mar 26 at 10:47
Okay, those were my first two guesses as to what's wrong. Could you update the question with the code of the transformation? An image isn't helping much. You can find out the code by opening the kettle file (.ktr) with a text editor and copying the entire XML content. PLEASE make sure to edit out the database connection credentials.
– Etienne Ott
Mar 26 at 10:56
1
1
The error indicates that it occurs on the table output step. Are you sure the entry doesn't exist already in the output table?
– Etienne Ott
Mar 25 at 10:37
The error indicates that it occurs on the table output step. Are you sure the entry doesn't exist already in the output table?
– Etienne Ott
Mar 25 at 10:37
based on my transformation design, if the table input has only one entry for primary key then table output should have only one entry. I have checked there is only one entry in table input. but still table output is inserting it again, pls find my transformation here lh3.googleusercontent.com/-hC76HYdt-mE/XJnhBi3L8DI/AAAAAAAAnKU/… "transformation"
– Naresh Vadla
Mar 26 at 8:18
based on my transformation design, if the table input has only one entry for primary key then table output should have only one entry. I have checked there is only one entry in table input. but still table output is inserting it again, pls find my transformation here lh3.googleusercontent.com/-hC76HYdt-mE/XJnhBi3L8DI/AAAAAAAAnKU/… "transformation"
– Naresh Vadla
Mar 26 at 8:18
Is the output table cleared/truncated before each run of the transformation? The table output step, in contrast to the insert/update step, does not check if the output table already contains the row to write and will fail when the database server complains about the violated constraint on the primary key (as it is not unique). If the transformation should run multiple times, then an insert/update step would be better.
– Etienne Ott
Mar 26 at 8:24
Is the output table cleared/truncated before each run of the transformation? The table output step, in contrast to the insert/update step, does not check if the output table already contains the row to write and will fail when the database server complains about the violated constraint on the primary key (as it is not unique). If the transformation should run multiple times, then an insert/update step would be better.
– Etienne Ott
Mar 26 at 8:24
Thank you. This is the first time i am running the transformation. table is truncated and then running the transformation.
– Naresh Vadla
Mar 26 at 10:47
Thank you. This is the first time i am running the transformation. table is truncated and then running the transformation.
– Naresh Vadla
Mar 26 at 10:47
Okay, those were my first two guesses as to what's wrong. Could you update the question with the code of the transformation? An image isn't helping much. You can find out the code by opening the kettle file (.ktr) with a text editor and copying the entire XML content. PLEASE make sure to edit out the database connection credentials.
– Etienne Ott
Mar 26 at 10:56
Okay, those were my first two guesses as to what's wrong. Could you update the question with the code of the transformation? An image isn't helping much. You can find out the code by opening the kettle file (.ktr) with a text editor and copying the entire XML content. PLEASE make sure to edit out the database connection credentials.
– Etienne Ott
Mar 26 at 10:56
|
show 3 more comments
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55334877%2fduplicate-entry-for-primary-key-error-for-kettke-transformationjob%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55334877%2fduplicate-entry-for-primary-key-error-for-kettke-transformationjob%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
The error indicates that it occurs on the table output step. Are you sure the entry doesn't exist already in the output table?
– Etienne Ott
Mar 25 at 10:37
based on my transformation design, if the table input has only one entry for primary key then table output should have only one entry. I have checked there is only one entry in table input. but still table output is inserting it again, pls find my transformation here lh3.googleusercontent.com/-hC76HYdt-mE/XJnhBi3L8DI/AAAAAAAAnKU/… "transformation"
– Naresh Vadla
Mar 26 at 8:18
Is the output table cleared/truncated before each run of the transformation? The table output step, in contrast to the insert/update step, does not check if the output table already contains the row to write and will fail when the database server complains about the violated constraint on the primary key (as it is not unique). If the transformation should run multiple times, then an insert/update step would be better.
– Etienne Ott
Mar 26 at 8:24
Thank you. This is the first time i am running the transformation. table is truncated and then running the transformation.
– Naresh Vadla
Mar 26 at 10:47
Okay, those were my first two guesses as to what's wrong. Could you update the question with the code of the transformation? An image isn't helping much. You can find out the code by opening the kettle file (.ktr) with a text editor and copying the entire XML content. PLEASE make sure to edit out the database connection credentials.
– Etienne Ott
Mar 26 at 10:56