You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
String ordering returns unexpected results for uppercase and lowercase values #2604
String comparison results appear inconsistent with Unicode code point order.
For example, uppercase D (U+0044) is less than lowercase a (U+0061), but AGE
returns false for 'D' < 'a'.
The comparison also affects predicates over concatenated strings:
SELECT * FROM cypher('test', $$
UNWIND ['D', 'eUu'] AS value
RETURN value,
value + value AS doubled,
NOT ((value + value) >= 'a') AS keep
$$) AS (value agtype, doubled agtype, keep agtype);
AGE returns keep=false for both rows. Based on code point ordering, the
expected values are keep=true for D and keep=false for eUu.
I've submitted a PR with regression tests documenting this string ordering behavior: #2610. @jrgemignani would love your feedback when you get a chance
Activity
Almaryj1 commentedon Nov 13, 2026
Hi @jrgemignani @YGY-001 , I'd like to work on this. I'll add a regression test to document this string ordering behaviour. Will submit a PR shortly.
Almaryj1 commentedon Nov 13, 2026
I've submitted a PR with regression tests documenting this string ordering behavior: #2610. @jrgemignani would love your feedback when you get a chance