Professional Documents
Culture Documents
Getting Started: Download pentaho data integration too (Kettle) from the following link: http://kettle.pentaho.com/ Once downloaded, execute Spoon.bat (for windows users):
double clicking on the icon to determine which file is involved in this "transformation":
Now, we configure each step, one by one: we specify which table, after mapping to a DB connection), in our case, we are using MySQL.
We consider the case of product, to map what is in the excel file and what is going to be exported to the SQL script file (inserts). To map columns in the excel files with DSAStore-Product table, we do:
With a right click on the step on which we are working, we choose "Generate Mapping against This Target Step":
This mapping step is hence placed between the input and the output:
Now that mapping has been established, all the rows of the Product ID and Product Description in the input will be generated in an .sql file under insert into format.
Product.sql
Vendor.sql