cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Spark Neo4j integration cypher query not returning any value

I have setup spark context and everything works & connects fine without any issues but when I run below query, though I have lot of nodes in neo4j database but it returns 0.

val neo = Neo4j(sc)
val rdd = neo.cypher("cypher MATCH (n:User) RETURN id(n) as id ").loadRowRdd
println(rdd.count())

There isn't any error , it just prints 0

0 REPLIES 0