We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
coalesce function should properly identify not null value referenced as $profile.Name
The function returns last argument(i.e. 'Unknown') even when first argument is not null
Run following query on demo database:
select @rid, @class, Phone, OrderedId, $profile.Name, coalesce($profile.Name, 'Unknown') from Customers let $profile = out('HasProfile')[0]
The text was updated successfully, but these errors were encountered:
I noticed that it gives expected result if using this syntax:
select @rid, @class, Phone, OrderedId, coalesce(out('HasProfile')[0].Name, 'Unknown') from Customers
Sorry, something went wrong.
Fix calculation of SQL function parameters, also including context an…
0d31456
…d metadata values (eg. LET values) Resolves: #8671
03e724d
Hi @grzegorz-aniol
I just pushed a fix for this problem, it will be released with v 3.0.12
Thanks
Luigi
luigidellaquila
No branches or pull requests
OrientDB Version: 3.0.9
Java Version: 1.8
OS: Windows 10
Expected behavior
coalesce function should properly identify not null value referenced as $profile.Name
Actual behavior
The function returns last argument(i.e. 'Unknown') even when first argument is not null
Steps to reproduce
Run following query on demo database:
The text was updated successfully, but these errors were encountered: