nikoraes commented on issue #2234:
URL: https://github.com/apache/age/issues/2234#issuecomment-3435110269
Thank you!
This workaround fixes the issue for me.
Just to be clear. The actual issue is not related to the big number, but to
the casting from string to agtype within a cypher query.
`SELECT '{"foo":"bar"}'::agtype` works
`SELECT * FROM cypher('graph', $$ RETURN '{"foo":"bar"}'::agtype $$) as
(result agtype);` returns an escaped string `"{\"foo\":\"bar\"}"`
`SELECT * FROM cypher('graph', $$ RETURN '{"foo":"bar"}'::cstring::agtype
$$) as (result agtype);` works (returns agtype map like the first one).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]