titoausten commented on PR #1038:
URL: https://github.com/apache/age/pull/1038#issuecomment-1640511731

   > I understand your desire to add additional functions. However, one could 
ask, where would it stop and how useful it would actually be? In other words, 
is it necessary?
   > 
   > I always tell others that our goal is to **fully support the openCypher 
specifications first**, then possibly more later. As Neo4j created that spec. 
and is representative of Cypher, look at Neo4j when the openCypher 
specification is not clear or ambiguous. After that, look to PostgreSQL, as 
many users of AGE may be PostgreSQL users.
   > 
   > https://neo4j.com/docs/cypher-manual/current/functions/
   > https://www.postgresql.org/docs/current/functions-math.html
   > 
   > If neither include those functions, I am hard pressed to add them to AGE. 
Meaning, there needs to be a good justification for adding them, especially if 
they are trivial to implement. 
   > 
   > For example,
   > 
   > The secant of an angle, **sec(a)**, is **1/cos(a)**
   > The square of a value, **sqr(3)**, is **3^2**
   > 
   > These, in my opinion, are unnecessary.
   > 
   
   Well understood. Thanks for clarity. The functions created or added should 
be fully supported by Neo4j and/or PostgreSQL. 


-- 
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]

Reply via email to