Skip to content

[BUG] Null value results in conversion of column of integers to float #678

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

Closed
michaelnchin opened this issue Aug 16, 2024 · 0 comments · Fixed by #679
Closed

[BUG] Null value results in conversion of column of integers to float #678

michaelnchin opened this issue Aug 16, 2024 · 0 comments · Fixed by #679
Labels
bug Something isn't working

Comments

@michaelnchin
Copy link
Member

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 a query returns a result entry that is either missing or contains null value for a property that would would otherwise be of integer type, all other values in the integer column created in the result table will be displayed as floats instead.

Example query:

Screenshot 2024-08-15 at 5 25 45 PM

Raw result:

{
  "results": [
    {
      "n.iucnCategory": "CR",
      "size(n.iucnCategory)": 2
    },
    {
      "n.iucnCategory": "EN",
      "size(n.iucnCategory)": 2
    },
    {
      "n.iucnCategory": "LC",
      "size(n.iucnCategory)": 2
    },
    {
      "n.iucnCategory": "NT",
      "size(n.iucnCategory)": 2
    },
    {
      "n.iucnCategory": "VU",
      "size(n.iucnCategory)": 2
    },
    {
      "n.iucnCategory": "DD",
      "size(n.iucnCategory)": 2
    },
    {
      "n.iucnCategory": null,
      "size(n.iucnCategory)": null
    }
  ]
}
@michaelnchin michaelnchin added the bug Something isn't working label Aug 16, 2024
@github-project-automation github-project-automation bot moved this to New issues/Needs triage or review in Graph Notebook Planning Aug 16, 2024
@michaelnchin michaelnchin linked a pull request Aug 16, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this from New issues/Needs triage or review to Resolved in Graph Notebook Planning Aug 16, 2024
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

Successfully merging a pull request may close this issue.

1 participant