Zainab-Saad commented on PR #905:
URL: https://github.com/apache/age/pull/905#issuecomment-1540210589
Before adding to the regression tests, here are a few edge cases:
`SELECT * FROM cypher('test', $$
RETURN ""::int
$$) AS (result agtype);
ERROR: invalid input syntax for integer: ""`
`SELECT * FROM cypher('test', $$
RETURN "falze"::int
$$) AS (result agtype);
ERROR: invalid input syntax for integer: "falze"`
`SELECT * FROM cypher('test', $$
RETURN ""::bool
$$) AS (result agtype);
ERROR: cannot cast agtype string to type boolean`
`SELECT * FROM cypher('test', $$
RETURN "falze"::bool
$$) AS (result agtype);
ERROR: cannot cast agtype string to type boolean`
@jrgemignani Do I add these as well?
--
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]