java.lang.NullPointerException - while writing to Edges using pyspark #5691
Unanswered
DOT-py-sys
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to write to nebula graph edges using pyspark -
df.write.format("com.vesoft.nebula.connector.NebulaDataSource").mode(
"overwrite").option(
"srcPolicy", "").option(
"dstPolicy", "").option(
"type", "edge").option(
"randkField","").option(
"spaceName", "nebulapoc").option(
"label", "testlabel").option(
"srcVertexField", "id1").option(
"dstVertexField", "id2").option(
"batch", 1).option(
"graphAddress", self.graph_address).option(
"metaAddress", self.meta_address).option(
"passwd", "nebula").option(
"user", "root").option(
"operateType", "write").option(
"writeMode", "insert").save()
Hi , its an issue we are facing in production , our nebula is deployed in a k8 cluster . We are able to write to vertex but when we are trying to write to edges , its throwing this exception . Please someone help .
Beta Was this translation helpful? Give feedback.
All reactions