[CYPHER] String concatenation operator || returns only first operand (original) (raw)

Test: stringConcatenationWithSpaces (line 324)

Cypher query to execute:

RETURN 'Alpha' || 'Beta' AS result1, 'Alpha' || ' ' || 'Beta' AS result2

Expected behavior:

'Alpha' || 'Beta' should return 'AlphaBeta'

ArcadeDB result:

{"result": "Alpha"}

Neo4j result:

{"result": "AlphaBeta"}

The || operator for string concatenation only returns the first operand instead of concatenating both strings.