Re: [orientdb] Lightweight Edges not maintained when using SQL DELETE VERTEX

2017-11-14 Thread Eric24
Steps to produce bug: 1. Enable Lightweight Edges 2. CREATE CLASS SimpleV EXTENDS V 3. CREATE CLASS SimpleE EXTENDS E 4. INSERT INTO SimpleV CONTENT {"name":"A"} // this is #25:0 5. INSERT INTO SimpleV CONTENT {"name":"B"} // this is #25:1 6. CREATE EDGE SimpleE FROM #25:0 TO #

Re: [orientdb] Lightweight Edges not maintained when using SQL DELETE VERTEX

2017-11-14 Thread Luigi Dell'Aquila
Hi Eric, The main problem with lightweight edges is that they do not have an identity, so they don't "physically" exist. The big disadvantages are that: - you cannot point to a single lightweight edge by RID - you cannot count them, eg. SELECT FROM E will return a wrong result The DELETE VERTEX i