Agtype array casting
Open
enhancement
- Dominant language
- C
- Stars
- 4.8k
- Forks
- 523
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 9
Description
Let's say I'm running following query from example:
```
SELECT *
FROM cypher('graph_name', $$
WITH [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] as lst
RETURN lst
$$) AS (lst int[]);
```
When trying to cast to int[] following error occurs:
`ERROR: cannot cast type agtype to integer[] for column "lst"`
Is it supposed to work, or there is another way to cast agtype array to postgres array?
Contributor guide
Assessment
This issue has not been assessed yet.