Il 18/04/2016 10:25, Roberto Franchini ha scritto:
> Now, ETL. If you configure ET to store on a given cluster, all the
> document loaded will be store in that cluster.
> So, you can load different data's partition on different clusters of
> the same class.
> Suppose to have 12 CSVs, one for each month. Each CSV contains
> contains invoices for a single month:
> invoices_01.csv contains invoices for January
> invoices_12.csv contains invoices for December
> 
> It could be useful to "partion" Invoice class in 12 clusters, and load
> each csv on its own cluster.
> 
> I hope this could clarify what's the purpose of Clusters.

In my example csv data are different:

invoice01.csv:

"id","customer","total"
"1","John","1000"
"2","Bob","250"
"3","Jack","630"
"4","Alice","900"

invoices_02.csv:

"id","customer","total"
"5","Jimmy","1200"
"6","Bart","1250"
"7","Bob","920"
"8","John","200"

because ids are unique.

Sorry for the mistake: I wrote a hurry.

-- 
Fabio Rinnone
Skype: fabiorinnone
Web: http://www.fabiorinnone.eu

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to