apache / apache/age

Execute cypher error is unhandled funciton call

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

Description

**Describe the bug**
When I execute a cypher statement for querying, an "unhandled function call" issue occurs. However, when I execute it the next time, it displays normally

**How are you accessing AGE (Command line, driver, etc.)?**
- Java JdbcTemplate
- Age 1.6.0

** Exception Info **
```java
StatementCallback; uncategorized SQLException for SQL [SELECT * FROM ag_catalog.cypher('ontology1998691594949234688', $$\n CREATE (n:`fd`) SET n = {name: 'fd', description: ''}, n._id = 1998691929239457792\n$$) AS (n ag_catalog.agtype);\n]; SQL state [XX000]; error code [0]; ERROR: unhandled cypher(cstring) function call\n Detail: ontology1998691594949234688
```

**What is the command that caused the error?**
```pgsql
SELECT * FROM ag_catalog.cypher('ontology1998691594949234688', $$
CREATE (n:`fd`) SET n = {name: 'fd', description: ''}, n._id = 1998691929239457792
$$) AS (n ag_catalog.agtype);

```
SQL state [XX000]; error code [0]; ERROR: unhandled cypher(cstring) function call\n Detail: ontology1998691594949234688
```

**Expected behavior**
A clear and concise description of what you expected to happen.

**Environment (please complete the following information):**
- Age 1.6.0

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.