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
APOC max() and min() functions should work on temporal types
They don't. We get an error.
No dataset needed
return apoc.coll.max([date(), date() - duration('p5M')]) results in the following errro:
return apoc.coll.max([date(), date() - duration('p5M')])
Failed to invoke function apoc.coll.max: Caused by: java.lang.ClassCastException: java.time.LocalDate cannot be cast to java.lang.Number
Failed to invoke function
: Caused by: java.lang.ClassCastException: java.time.LocalDate cannot be cast to java.lang.Number
The text was updated successfully, but these errors were encountered:
Merged, @InverseFalcon
Sorry, something went wrong.
No branches or pull requests
Expected Behavior (Mandatory)
APOC max() and min() functions should work on temporal types
Actual Behavior (Mandatory)
They don't. We get an error.
How to Reproduce the Problem
Simple Dataset (where it's possibile)
No dataset needed
Steps (Mandatory)
return apoc.coll.max([date(), date() - duration('p5M')])
results in the following errro:
Failed to invoke function
apoc.coll.max: Caused by: java.lang.ClassCastException: java.time.LocalDate cannot be cast to java.lang.Number
Versions
The text was updated successfully, but these errors were encountered: