Skip to content

Conversation

@s1ck
Copy link
Contributor

@s1ck s1ck commented Apr 18, 2019

Adds an additional module spark-cypher-morpheus that depends on spark-graph-api.

Main trait is defined as follows:

private[morpheus] class MorpheusSession(override val sparkSession: SparkSession) extends RelationalCypherSession[DataFrameTable] with org.apache.spark.graph.api.CypherSession

See GraphApp for usage example and switching between APIs

Pros:

  • user only needs to switch from SparkCypherSession.create to MorpheusSession.create

Cons:

  • CAPSSession needs to be in implicit scope for PGDS implementations (maybe SparkSession is enough here?)

Needs apache/spark#24297 installed locally to compile and run.

@s1ck s1ck closed this Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant