-
Notifications
You must be signed in to change notification settings - Fork 871
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
unable to access results of custom functions when called from sql #3531
Comments
The problem seems the function name. If you call _1() as f1() works. |
Fixed the problem with functions that starts with _ |
Agreed that this the '_' is part of the problem, but there is more...
I would expect a user record to come back but in fact nothing does. |
Testing it now... |
any joy? |
Hey Mat. I tried and works. There was a typo on it. You should rather execute:
|
I did try this - but it does not return the document as expected - it just returns a temporary doc which must be expanded from a subselect eg..
This is nasty. |
This is how any function works, but distinct and expand. |
It used to be (java 1.7) that functions like..
Could be called from sql (or binary) using
and the response would be returned from sql as per the function.
Using 1.8 this is no longer the case, as although the functions are executed, the response values are not returned which effectively renders functions unusable unless invoked through the web api
This is possibly related to #3051
The text was updated successfully, but these errors were encountered: