apache / apache/age

ERROR: operator does not exist: ag_catalog.agtype + ag_catalog.agtype

Open
#299 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
C
Stars
4.8k
Forks
523
Avg merge
1d 2h
Merged PRs (30d)
9

Description

I am getting an error when I ran the below queries in PostgreSQL-11:

```
SELECT * FROM ag_catalog.cypher('graph_path', $$ CREATE (:L {a: 1, b: 2, c: 3}), (:L {a: 2, b: 3, c: 1}), (:L {a: 3, b: 1, c: 2}) $$) as (a ag_catalog.agtype);

SELECT * FROM ag_catalog.cypher('graph_path', $$ MATCH (x:L) RETURN (x.a + x.b + x.c) + count(*) + count(*), x.a + x.b + x.c $$) as (count ag_catalog.agtype, key ag_catalog.agtype);
```

**ERROR: operator does not exist: ag_catalog.agtype + ag_catalog.agtype
LINE 1: ...her('graph_path', $$ MATCH (x:L) RETURN (x.a + x.b + x....
                                                                                                  ^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts.**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.