Skip to content
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

java.lang.UnsupportedOperationException: Implement OTraverseStatement.refersToParent() #8592

Closed
rajgopalv opened this issue Oct 10, 2018 · 2 comments
Assignees
Labels
Milestone

Comments

@rajgopalv
Copy link

rajgopalv commented Oct 10, 2018

OrientDB Version: 3.0.8

Java Version: 11

OS: Mac

Expected behavior

select from V let $type = (traverse * from $parent.$current.children) should work without any error

Actual behavior

orientdb {db=test}> select from V let $type = (traverse * from $parent.$current.children)
Error: com.orientechnologies.orient.enterprise.channel.binary.OResponseProcessingException: Exception during response processing
Error: java.lang.UnsupportedOperationException: Implement OTraverseStatement.refersToParent()

Steps to reproduce

Connect to console or Connect to Studio and try to execute this query
select from V let $type = (traverse * from $parent.$current.children)

@luigidellaquila
Copy link
Member

Hi @rajgopalv

Thank you for reporting, I'll check it ASAP and let you know

Thanks

Luigi

@luigidellaquila luigidellaquila self-assigned this Oct 10, 2018
@luigidellaquila
Copy link
Member

Hi @rajgopalv

I just pushed a fix for that specific problem, it will be released with v 3.0.9

Please consider that $parent.$current.children is not allowed as a target for a query, you have to do something as follows instead:

select from V let $type = (traverse * from (SELECT expand($parent.$parent.$current.children))

Thanks

Luigi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants