Skip to content

Cypher: " cypher.null" has leading spaces in it #804

Closed

Description

@artturimatias

ArcadeDB Version: 23.1.1

JDK Version:

OS: Docker image

Expected behavior

CREATE (n:Person) return n.name
"records": [
{
"n.name": "cypher.null"
}
]

Actual behavior

"records": [
  {
    "n.name": "  cypher.null"
  }
]

Steps to reproduce

CREATE (n:Person) return n.name

This is tiny but annoying issue when you have to check possible null values in return set.

Activity

  1. self-assigned this
    on Jan 25, 2023
  2. added this to the 23.1.2 milestone on Jan 25, 2023
  3. lvca commented on Jan 25, 2023

    @lvca
    Member

    Reproduced. The Cypher to Gremlin compiler uses this constant string . cypher.null for NULLs.

  4. added a commit that references this issue on Jan 25, 2023
  5. lvca commented on Jan 25, 2023

    @lvca
    Member

    Unfortunately, the Cypher to Gremlin compiler project is not active. Creating a fix that replaces those constants with actual null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions