Skip to content
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

apoc.custom.declareProcedure does not accept default float values #2966

Closed
znadrich-qf opened this issue Jun 7, 2022 · 0 comments · Fixed by #3033
Closed

apoc.custom.declareProcedure does not accept default float values #2966

znadrich-qf opened this issue Jun 7, 2022 · 0 comments · Fixed by #3033
Assignees

Comments

@znadrich-qf
Copy link

Expected Behavior (Mandatory)

Default float values are accepted

Actual Behavior (Mandatory)

Default float values error

call apoc.custom.declareProcedure(
    'asd(minScore=5.0::DOUBLE) :: (bestScore::DOUBLE)',
    '',
    'read'
)

Failed to invoke procedure `apoc.custom.declareProcedure`: Caused by: java.lang.NumberFormatException: For input string: "5.0"
@znadrich-qf znadrich-qf changed the title apoc.custom.declareProcedure does not accept default floatvalues apoc.custom.declareProcedure does not accept default float values Jun 7, 2022
@vga91 vga91 self-assigned this Jun 8, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Jul 5, 2022
vga91 added a commit to vga91/neo4j-apoc-procedures that referenced this issue Jul 5, 2022
vga91 added a commit that referenced this issue Jul 7, 2022
…at values (#3033) (#3039)

Co-authored-by: Giuseppe Villani <giuseppe.villani@larus-ba.it>
vga91 added a commit that referenced this issue Jul 7, 2022
…at values (#3033) (#3038)

Co-authored-by: Giuseppe Villani <giuseppe.villani@larus-ba.it>
gem-neo4j pushed a commit to gem-neo4j/neo4j-apoc-procedures that referenced this issue Jul 12, 2022
…t default float values (neo4j-contrib#3033) (neo4j-contrib#3039)

Co-authored-by: Giuseppe Villani <giuseppe.villani@larus-ba.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants