CloverETL Forum

CloverETL Engine, Designer & Server related discussion forums
It is currently Sun Sep 05, 2010 12:00 pm



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Merging flows from different csv files.
PostPosted: Wed Jun 02, 2010 5:28 am 
Offline

Joined: Wed Jun 02, 2010 5:20 am
Posts: 2
Hi I'm trying to merge flows from different CSV files that look like this...

CSV_A
-----
Code:
Titles: Foo, Bar, Baz, Etch, Meh
Rows: 1, , , , 6


CSV_B
-----
Code:
Titles: Foo, Bar, Baz, Etch, Meh
ROws: 1, 2, ,4, ,


CSV_C
-----
Code:
Titles: Foo, Bar, Baz, Etch, Meh
Rows, 1, , 3, , 5,


Desired Output
Code:
Titles: Foo, Bar, Baz, Etch, Meh
Rows: 1, 2, 3, 4, 5, 6


How would one go about this with Clover? What component or component(s) to use?

Thanks,

Rasputin.


Top
 Profile  
 
 Post subject: Re: Merging flows from different csv files.
PostPosted: Thu Jun 03, 2010 1:48 pm 
Offline

Joined: Fri Jul 20, 2007 9:28 am
Posts: 550
Hello,
I see two scenarios to achieve the aim:
  • DataReader --> ExtSort --> Denormalizer - Data Reader reads all the files using wild-cards, if the key doesn't exist it can be created by source_row_count auto filling function
  • Data Readers ==> MergeJoin - each reader reads its own file, key can be also generated by source_row_count or global_row_count auto filling function

_________________
Agata Vackova
Javlin a.s.
agata.vackova@javlin.eu


Top
 Profile  
 
 Post subject: Re: Merging flows from different csv files.
PostPosted: Mon Jun 07, 2010 12:52 am 
Offline

Joined: Wed Jun 02, 2010 5:20 am
Posts: 2
Right on! Went with the denormalize option.

CloverETL is so righteous...!!! :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group