What is the best practice in Pentaho DI(Kettle) for converting a csv into a One to Many Relationship -
i new pentaho di(formerly kettle) , tasked taking csv data , populating tables in rdbms in "one many" relationship.
here example of how csv data structured:
orderid,customername, date,total cost,lineitemnumber, lineitemdesc,lineitemqty,lineitemcost 101655,mary smith,2016-02-08,6.25,1|2|3|4,lettuce|tomatoes|green onions|cucumbers,1|2|4|2,1.00|2.50|0.75|2.00 note: multiple values seperated pipes(|)
i need convert following tables:
i have been looking several ways of doing didn't want miss simple due inexperience. advise appreciated.
i have come solution looks awfully complicated.
try using split fields rows step in pdi. give delimiter | (pipe) , give column/field want split.
check pentaho wiki more.
hope helps :)


Comments
Post a Comment