Search code examples
mysqlcsvpentahopentaho-spoonpentaho-data-integration

How to start inserting row after some specified number to MySql database using Pentaho?


Basically what i want to do is that,

I have CSV file containing 10,000 rows that i want to insert into the database . When i start my transformation i want to start inserting in database after 4500 rows . So i want to skill number of rows that i specified .

How can i achieve that ? Any help would be great.

Image Description : I simply create a transformation that read data from csv and write to database . I do not know which step will help me to achieve this .

Note : I have attached my simple transformation I simply create a transformation that read data from csv and write to database . I do not know which step will help me to achieve this .


Solution

  • I used following kettle file , that solved my problem . Thanks to @WorkingHard..and @jxc I used the Add Sequencer and Filter rows to achieve this