{"action":"closed","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3956","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3956/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3956/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3956/events","html_url":"https://github.com/orientechnologies/orientdb/issues/3956","id":69348576,"number":3956,"title":" error in sub query with $parent.$current","user":{"login":"publicocean0","id":2518180,"avatar_url":"https://avatars.githubusercontent.com/u/2518180?v=3","gravatar_id":"","url":"https://api.github.com/users/publicocean0","html_url":"https://github.com/publicocean0","followers_url":"https://api.github.com/users/publicocean0/followers","following_url":"https://api.github.com/users/publicocean0/following{/other_user}","gists_url":"https://api.github.com/users/publicocean0/gists{/gist_id}","starred_url":"https://api.github.com/users/publicocean0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/publicocean0/subscriptions","organizations_url":"https://api.github.com/users/publicocean0/orgs","repos_url":"https://api.github.com/users/publicocean0/repos","events_url":"https://api.github.com/users/publicocean0/events{/privacy}","received_events_url":"https://api.github.com/users/publicocean0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/waiting%20reply","name":"waiting reply","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"luigidellaquila","id":459289,"avatar_url":"https://avatars.githubusercontent.com/u/459289?v=3","gravatar_id":"","url":"https://api.github.com/users/luigidellaquila","html_url":"https://github.com/luigidellaquila","followers_url":"https://api.github.com/users/luigidellaquila/followers","following_url":"https://api.github.com/users/luigidellaquila/following{/other_user}","gists_url":"https://api.github.com/users/luigidellaquila/gists{/gist_id}","starred_url":"https://api.github.com/users/luigidellaquila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigidellaquila/subscriptions","organizations_url":"https://api.github.com/users/luigidellaquila/orgs","repos_url":"https://api.github.com/users/luigidellaquila/repos","events_url":"https://api.github.com/users/luigidellaquila/events{/privacy}","received_events_url":"https://api.github.com/users/luigidellaquila/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/48","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.1%20GA","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/48/labels","id":1056294,"number":48,"title":"2.1 GA","description":"","creator":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"open_issues":130,"closed_issues":3,"state":"open","created_at":"2015-04-07T14:18:53Z","updated_at":"2015-07-03T22:36:02Z","due_on":"2015-07-06T22:00:00Z","closed_at":null},"comments":2,"created_at":"2015-04-18T21:17:21Z","updated_at":"2015-07-03T22:36:02Z","closed_at":"2015-07-03T22:36:02Z","body":"```\nselect $p from #41:7\n let $p = ( select rid from index:index_1 where key = $parent.$current )\n\n----+-----+----\n#   |@RID |$p  \n----+-----+----\n0   |#-2:1|[0] \n----+-----+----\n```\n\nbut \n\n```\nselect rid from index:index_1 where key = #41:7\n```\n\ngive rows \n"}}