Support for running functions over a result set - PR for #191#197
Open
transparentech wants to merge 2 commits intojson-path:masterfrom
Open
Support for running functions over a result set - PR for #191#197transparentech wants to merge 2 commits intojson-path:masterfrom
transparentech wants to merge 2 commits intojson-path:masterfrom
Conversation
…t tests pass. Added additional unit tests for functions on result set.
6a40215 to
74cb6d6
Compare
|
I was looking for this feature and found it in this PR. May I know when this will be merged? Thanks! |
|
I normally do not comment if I have nothing to contribute really but this PR has been open for over half a year and adds a feature I would love to see. Any news regarding this? Thank you for your understanding! |
|
I couldn't wait for this to (finally) get merged, so i forked it and pushed it to maven for my use. If anyone else needs this you can find it in maven central here
you should be able to use it like so: this includes this PR and my PR to add custom functions. ciao |
|
Functionality is in #377 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This branch allows you to execute functions on result sets (as well as static arrays).
The basic idea is that we remove the tail function path from the rootpath. Then we evaluate the rootpath. Then we evaluate the function path on the result of the rootpath evaluation.
Happy to discuss any improvements.