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

Scalable RETURN all unstructured properties of node #416

Closed
semihsalihoglu-uw opened this issue Dec 18, 2021 · 1 comment
Closed

Scalable RETURN all unstructured properties of node #416

semihsalihoglu-uw opened this issue Dec 18, 2021 · 1 comment

Comments

@semihsalihoglu-uw
Copy link
Contributor

Currently, when a user asks the query:

MATCH (a:Person)
WHERE a.firstName = "Ramon"
RETURN a

And we are given a graph that has 1000 different possible unstructured properties across Person nodes (which is an information kept in the catalog), we will try to construct a plan with 1000 property readers, what will try to read each possible property one after another, and put a null or a value in one ValueVector. So for a node that has only 1 unstructured property, we will try to read 1000 possible properties. In addition, we will output 999 nulls.

Instead, we should have a special ValueVector (possibly of dataType Map or currently we can call it UnstructuredPropertyMap) that and a special AlllUnstructuredPropertiesReader that reads all unstructured properties of a node and puts it into a single ValueVector.

@andyfengHKU
Copy link
Contributor

Solved in PR #486

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

No branches or pull requests

2 participants