-
Notifications
You must be signed in to change notification settings - Fork 49
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
_AR_EXP_UpdateEntityIdx error when adding nodes to graph #73
Comments
Hi @DrPyser, Would you mind letting us know what does
I would like to see the actual query which was issued, one way of finding out is to have |
for a in accounts:
print("a=",a)
if a["mcc"] == "True":
a.update(mcc=True)
if a["mcc"] == "False":
a.update(mcc=False)
if a["parent_id"] == "<null>":
a.update(parent_id=None)
graph.add_node(redisgraph.Node(label="account", properties=a)) Basically, I'm loading data from a csv and creating "account" entities. Some attributes will be null. |
An extract from the actual cypher query:
I guess it should be converting the |
Hi @DrPyser,
The main problem is that When you perform property accesses on non-existent properties,
|
Okay, I got it. Thanks! |
Hi!
I'm getting this error while trying to create a bunch of nodes, pretty basic stuff. The error was a bit cryptic for me, and I didn't find anything googling it, documentation-wise or similar question answered. Well, except the redisgraph code:
https://github.com/RedisGraph/RedisGraph/blob/0cf50df86d5846c1eba39b2c0fcf1f500c25abf2/src/arithmetic/arithmetic_expression.c#L327-L348
My guess is that this is a datatype mapping issue(
None
values are not automatically translated to cypherNULL
). If so, what is the right way to encode a null value in a record?I think it would be helpful to users to have some error interpretation between the raw redisgraph protocol messages and the client library user.
Thanks!
The text was updated successfully, but these errors were encountered: