Skip to content

Regression in string concatenation using the + operator #2243

@konradziczek

Description

@konradziczek

Describe the bug

In earlier versions, the + operator correctly concatenated data of different types. In v1.6.0 this operator returns an incorrect result. I couldn’t find any information about changes in this behavior in the changelog.

For example:

CREATE (n30164502:Node {data_id: 30164502}) RETURN id(n30164502) + ':test_n' + n30164502.data_id

before returned:

"844424930131969:test_n30164502"

now returns:

"1:test_n22"

I tried to use || operator, but it returned list instead of a string:

[844424930131969, ":test_n", 30164502]

How are you accessing AGE (Command line, driver, etc.)?

  • psycopg2 v2.9.5

Environment (please complete the following information):

  • Version: AGE 1.6.0, PG 16

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions