It could be nice to have an ability to call something like:
gf = GraphFrame(v, e)
result: DataFrame = gf.cypher("MATCH (tom:Person {name: \"Tom Hanks\"})-[:ACTED_IN]->(tomHanksMovies)")
I briefly checked and it looks like we can use cypher-dsl-parser that allows to transform the query to the logical plan and we can use pattern matching to transform the logical plan to the series of GraphFrame API calls. The license of dsl-parser is Apache 2.0.
It could be nice to have an ability to call something like:
I briefly checked and it looks like we can use cypher-dsl-parser that allows to transform the query to the logical plan and we can use pattern matching to transform the logical plan to the series of GraphFrame API calls. The license of dsl-parser is Apache 2.0.