-
Notifications
You must be signed in to change notification settings - Fork 10
Description
When creating edge class, if you specify the 'from vertex' or 'to vertex' class type:

Orientdb will create a 'in' property and a 'out' property with type 'LINK':

OrientDBGraphEdgeWrapper can't handle these properties properly:
Exception in thread "main" scala.MatchError: LINK (of class com.orientechnologies.orient.core.metadata.schema.OType)
at org.apache.spark.orientdb.graphs.OrientDBGraphWrapper.getCatalystType(OrientDBGraphWrapper.scala:39)
at org.apache.spark.orientdb.graphs.OrientDBGraphEdgeWrapper.resolveTable(OrientDBGraphWrapper.scala:433)
at org.apache.spark.orientdb.graphs.OrientDBEdgeRelation$$anonfun$schema$2.apply(OrientDBRelation.scala:163)
at org.apache.spark.orientdb.graphs.OrientDBEdgeRelation$$anonfun$schema$2.apply(OrientDBRelation.scala:158)
at scala.Option.getOrElse(Option.scala:121)