-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WideNodeEncoder fails on multiple values per predicate #138
Comments
You are right, list properties / array values / multiple values per predicate are not supported (#69). This is definitively a required feature. Not sure when I will get back to this so contribution welcome. |
I'm more than happy to give a PR a go, any pointers you can give me on where in the code is best to begin? |
Excellent, here is what I would do: First lets simplify the example above and get rid of the GraphFrames dependency as GraphFrames internally uses the wide node mode:
Then what we want is that
So we expect the DataFrame to contain string arrays as elements in the Multiple values per predicate are indicated by the The In
into a This all should be implemented test-driven through I hope these pointers help you to get started. |
Hi,
When I run the following code:
I get the following error:
My suspicion is that it fails because I have multiple entries in dgraph.type. Could you test this scenario? Or is there something else in the json above that fails to encode? Thanks!
The text was updated successfully, but these errors were encountered: