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

[BUG] Cannot pass None in OC query parameters #583

Closed
Cole-Greer opened this issue Apr 3, 2024 · 1 comment
Closed

[BUG] Cannot pass None in OC query parameters #583

Cole-Greer opened this issue Apr 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Cole-Greer
Copy link

Community Note

  • Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Describe the bug
When using a parameterized openCypher query, None cannot be currently be passed in through the query parameters.

image

  • OS: MacOS
  • Browser: Firefox
  • Graph Notebook Version: 4.1.0
  • Graph Database & Version: Amazon Neptune 1.3.1.0

To Reproduce
Steps to reproduce the behavior:

  1. Run these 2 cells in a notebook connected to Neptune 1.3.1.0:
params = {"X": None}
%%oc -qp params
CREATE (a:Person {name: $X})
  1. See MalformedQueryException

Expected behavior

Expected behaviour is for it to correctly serialize as a null in the parameter json string and for the query to behave identically to the non-parameterized version.

image

@Cole-Greer Cole-Greer added the bug Something isn't working label Apr 3, 2024
@michaelnchin michaelnchin self-assigned this Apr 3, 2024
@michaelnchin
Copy link
Member

Thanks for the catch @Cole-Greer ! This has been fixed with #584 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Resolved
Development

No branches or pull requests

2 participants