-
Notifications
You must be signed in to change notification settings - Fork 872
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
invalid result for let part for version 2.1-rc2 #4187
Comments
I am not an expert, but I don't think this is a bug. $story is result of a sub-query, OrientDB creates a temporary document to hold the result of the sub-query hence you are seeing the negative rid. |
beside the rid. it should return me other fields (etc: url, metadata and doen) in array structure. But it return me nothing now. |
I have the same issue - Interestingly, I do see the results in OrientDB studio. I think the results are not coming back in the binary protocol? |
yes. i think it's a bug |
have you solved this? |
Sorry. I don't have any idea about your orientdb in java environment. Please ask your team member to help. thanks. |
this should be solved with the latest version of ODB and orientjs Thanks |
SELECT *, $story as story FROM page LET $story = (SELECT @Rid as rid, url, metadata, done FROM story WHERE $
current.page = $parent.current.@Rid and $current.done = false ORDER BY metadata.release_date DESC)
decompose "story" get the following invalid result. you can refer to following url for more discussion .
https://github.com/codemix/oriento/issues/314#issuecomment-103854210
[ { [String: '#-2:1'] cluster: -2, position: 1 },
{ [String: '#-2:2'] cluster: -2, position: 2 },
{ [String: '#-2:0'] cluster: -2, position: 0 },
{ [String: '#-2:3'] cluster: -2, position: 3 },
{ [String: '#-2:4'] cluster: -2, position: 4 },
{ [String: '#-2:6'] cluster: -2, position: 6 },
{ [String: '#-2:7'] cluster: -2, position: 7 },
{ [String: '#-2:5'] cluster: -2, position: 5 } ]
The text was updated successfully, but these errors were encountered: