rrrokhtar opened a new issue, #149:
URL: https://github.com/apache/age-website/issues/149

   The following example is not working properly which is at 
https://age.apache.org/age-manual/master/functions/user_functions.html
   It has multiple issues:
   1. Missing ')' closing parentheses  
   2. Missing typecasting 
   3. Result is incorrect (sqrt(25) is 5 while the result is mentioned as 25)
   
   Test environment: 
   
   PG: 11
   AGE: 1.2.0
   OS: Ubuntu 18
   
   **The output after having getting the closing parentheses fixed:**
   
   ```SQL
   rrr=# SELECT *
   rrr-# FROM cypher('test', $$
   rrr$# RETURN pg_catalog.sqrt(25)
   rrr$# $$) as (result agtype);
   ERROR:  function pg_catalog.sqrt(agtype) does not exist
   LINE 3: RETURN pg_catalog.sqrt(25)
                                 ^
   HINT:  No function matches the given name and argument types. You might need 
to add explicit type casts.
   ```
   
   


-- 
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: dev-unsubscr...@age.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to