You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What's the difference between SCALAR_FUNCTION and REWRITE_FUNCTION (as in src/function/function_collection.cpp)? (turned out to be irrelevant)
There's already a properties(LIST, STRING) implementation in src/function/path/properties_function.cpp. Can I override it in any way? (implemented as STRUCT_PROPERTIES())
What happens to functors (e.g. bindFunc, compileFunc) if they aren't assigned? Is there a default?
Favourite cooking oil?
carminite
changed the title
Implement properties() for NODE, REL, STRUCT
[WIP] Implement properties() for NODE, REL, STRUCT
Sep 12, 2025
❌ Patch coverage is 97.53086% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.74%. Comparing base (d33be14) to head (4a10776). ⚠️ Report is 1 commits behind head on master.
Is having a special STRUCT_PROPERTIES(x) helpful when returning x has (almost) same outcome (with internal keys present)? properties() was in listed in #5841 for openCypher conformance. If we're changing the name of the function, then I'm not sure in which scenario we expect to use it as compared to simply returning the argument of the function itself.
@sdht0 you're definitely right, i'll probably find a way to alias/group both properties() functions together. i just wanted this pr open right now for code reviews because raii is hard ;-;
carminite
changed the title
Implement STRUCT_PROPERTIES(NODE|REL|STRUCT)
Implement PROPERTIES(NODE|REL|STRUCT)
Sep 15, 2025
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Implemented PROPERTIES(NODE|REL|STRUCT) for returning the (non-internal) properties of a variable.
Usage:
Contributor agreement