Il 15/04/2016 16:10, Roberto Franchini ha scritto: > On Fri, Apr 15, 2016 at 12:29 PM, Fabio Rinnone > <[email protected]> wrote: >> Hi, >> >> there is a way to loading data from CSV via ETL module only into one >> specified cluster of class? I have some csv files and I would like to >> load individual CSV file data only on a specific cluster. I must have >> the same number of clusters in the number of csv file and each csv file >> must be loaded in a single cluster. >> >> This option in ETL loader, before classes definition, don't work for me: >> >> "cluster":"clusterName", >> > > Well, it's a bug. > The clusterName is not well managed inside the ETL: > > https://github.com/orientechnologies/orientdb/issues/5987 > > ETL doesn't create clusters, at the moment: they should be present in > the database BEFORE launch ETL.
Thank you, now it creates cluster, but my question is little different: if I create for instance a class named "foo" and in my ETL loader I define a new class named for instance "foocluster", when I launch ETL (we assume that csv has 2000 rows), it loads 1000 rows into "foo" cluster and the others 1000 into "foocluster", but I want that all 2000 rows will loaded only into "foocluster". Is correct my assumption or probably don't I understand exactly the meaning of role of clusters in OrientDB? Thank you again. -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
