orientdb-etl

How to load a huge CSV file in orient db

送分小仙女□ 提交于 2020-01-16 18:32:48
问题 I want to load a huge CSV file in my orient Db database.there is some checklist for the database ,that should our db follows. 1- there would be a single csv file and this CSV file will have millions of records and more then 20 Columns. 2- From this csv i have to create multiple Classes and each class will have different Properties (is it possible with Orient db). 3- i have to create index too Please help for this.how should i create Etl config file for this Thanks in advance. please let me

import edges to OrientDB using etl

 ̄綄美尐妖づ 提交于 2019-12-23 12:19:47
问题 I have 3 tables, one is for vertex A, one is for vertex B, and the third is for edges from B to A. How can I import this graph to OrientDB? For now, the tutorial just says how to import two csv files, one is for vertex A, and the other one is for vertex B and connected vertices from A. Load vertex A, then load vertex B and creating edges from A to B in the mean time. This works for simple graphs. But for complicated graphs, for example, I have three types of vertices, A, B and C, three types

OrientDB import edges only using ETL tool

 ̄綄美尐妖づ 提交于 2019-12-10 11:29:39
问题 I already used the OETL to insert all my Vertex to the graph. Now I have a file that outlines the edges at the following way: node_1,rel_type,node_2 11000001,relation_A,10208879 11000001,relation_A,10198662 11000001,relation_B,10159927 11000001,relation_C,10165779 How can I import it using the OrientDB OETL tool? I tried the following: "transformers": [ { "csv": {} }, { "command" : { "command" : "create edge ${rel_type} from (select flatten(@rid) from V where node_id= ${node_1}) to (select

Edge properties clobbering vertex properties in OrientDB from ETL

和自甴很熟 提交于 2019-12-08 02:04:30
问题 This is a follow-up to another question I had posted regarding importing a simple database into OrientDB using ETL that had both edge and vertex properties with dates on both. Here's my data: vertices.csv : label,data,date v01,0.1234,2015-01-01 v02,0.5678,2015-01-02 v03,0.9012,2015-01-03 edges.csv : u,v,weight,date v01,v02,12.4,2015-06-17 v02,v03,17.9,2015-09-14 For brevity, I'll add just the updated commonEdges.json file using the edits from the other question. The other JSON files are

Edge properties clobbering vertex properties in OrientDB from ETL

狂风中的少年 提交于 2019-12-06 06:38:11
This is a follow-up to another question I had posted regarding importing a simple database into OrientDB using ETL that had both edge and vertex properties with dates on both. Here's my data: vertices.csv : label,data,date v01,0.1234,2015-01-01 v02,0.5678,2015-01-02 v03,0.9012,2015-01-03 edges.csv : u,v,weight,date v01,v02,12.4,2015-06-17 v02,v03,17.9,2015-09-14 For brevity, I'll add just the updated commonEdges.json file using the edits from the other question. The other JSON files are unchanged. commonEdges.json : { "begin": [ { "let": { "name": "$filePath", "expression": "$fileDirectory

OrientDB ETL loading CSV with vertices in one file and edges in another

六月ゝ 毕业季﹏ 提交于 2019-11-30 22:29:39
I have some data that is in 2 CSV files, one contains the vertices and the other file contains the edges are in the other file. I'm working out how to set this up using ETL and am close but not quite there yet--it mostly works but my edges have properties and I'm not sure that they're loading right. This question was helpful but I'm still missing something... Here's my data: vertices.csv : label,data,date v01,0.1234,2015-01-01 v02,0.5678,2015-01-02 v03,0.9012,2015-01-03 edges.csv : u,v,weight,date v01,v02,12.4,2015-06-17 v02,v03,17.9,2015-09-14 I import my vertices using this: commonVertices

OrientDB ETL loading CSV with vertices in one file and edges in another

我怕爱的太早我们不能终老 提交于 2019-11-30 18:00:57
问题 I have some data that is in 2 CSV files, one contains the vertices and the other file contains the edges are in the other file. I'm working out how to set this up using ETL and am close but not quite there yet--it mostly works but my edges have properties and I'm not sure that they're loading right. This question was helpful but I'm still missing something... Here's my data: vertices.csv : label,data,date v01,0.1234,2015-01-01 v02,0.5678,2015-01-02 v03,0.9012,2015-01-03 edges.csv : u,v,weight