Could not initialize class org.opencypher. morpheus.impl.MorpheusFunctions #948
Open
Description
The following code, based on https://github.com/opencypher/morpheus/blob/0.4.2/morpheus-examples/src/main/scala/org/opencypher/morpheus/examples/CypherSQLRoundtripExample.scala :
val result = graph.cypher("""
|MATCH
| (t1:Trip)-[:CONTAINS]-(s1:Stop)
|RETURN t1.id AS trip_id
""".stripMargin)
result.records.asMorpheus.df.toDF("trip_id").createOrReplaceTempView("results")
gives me this error:
error: value asMorpheus is not a member of result.Records
Metadata
Assignees
Labels
No labels