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

Metadata of inner queries only accessible via '*' to outer queries #8667

Closed
TariqAHassan opened this issue Nov 19, 2018 · 0 comments
Closed

Comments

@TariqAHassan
Copy link

OrientDB Version: 3.0.7

Java Version: java 10.0.2

OS: macOS 10.13.6

Expected behavior

Take the following for example:

select * from (select @rid from CLASS)

this recovers a 'list' of @rids which, intuitively at least, should match:

select @rid from (select @rid from CLASS)

Actual behavior

The first result, as stated above, is a list of @rids whereas the second is NULL.

Steps to reproduce

Run the queries above.


Perhaps I've missed it, but could not find an account of this behavior in the docs.
If such an account exists, it would be nice to be pointed to it. (I am aware of this).

I personally find this behaviour to be quite counterintuitive. Moreover, it is quite problematic
for the Python driver which relies somewhat heavily @rids to construct its representation
of vertices and edges.

Thanks!

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

No branches or pull requests

1 participant