You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "MuhammadTahaNaveed (via GitHub)" <gi...@apache.org> on 2023/07/17 12:31:00 UTC

[GitHub] [age] MuhammadTahaNaveed opened a new issue, #1044: size() unsupported argument

MuhammadTahaNaveed opened a new issue, #1044:
URL: https://github.com/apache/age/issues/1044

   **Describe the bug**
   expected where size(v) to work.
   
   **How are you accessing AGE (Command line, driver, etc.)?**
   - terminal
   
   **What data setup do we need to do?**
   ```pgsql
   SELECT * FROM cypher('again',$$
       CREATE (n)-[:KNOWS {n:'hello'}]->({n:'hello'})
   $$) as (a agtype);
   ```
   
   **What is the command that caused the error?**
   ```pgsql
   SELECT * FROM cypher('again', $$
       MATCH (m)-[v *]->(b) 
       WHERE size(v) >1
       RETURN b
   $$) AS (a agtype);
   ```
   ```
   ERROR:  size() unsupported argument
   ```
   
   **Expected behavior**
   Should have returned
   ```
    {"id": 281474976710658, "label": "", "properties": {"n": "hello"}}::vertex
   ```
   
   **Environment (please complete the following information):**
   - latest (PG13 master)
   
   **Additional context**
   works when used in return
   ```
   SELECT * FROM cypher('again', $$
       MATCH (m)-[v *]->(b) 
       RETURN size(v)
   $$) AS (a agtype);
   ```
   ```
    a 
   ---
    1
   (1 row)
   ```
   


-- 
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-unsubscribe@age.apache.org.apache.org

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


Re: [I] Array functions not recognizing VPC [age]

Posted by "jrgemignani (via GitHub)" <gi...@apache.org>.
jrgemignani closed issue #1044: Array functions not recognizing VPC
URL: https://github.com/apache/age/issues/1044


-- 
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-unsubscribe@age.apache.org

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


[GitHub] [age] titoausten commented on issue #1044: size() unsupported argument

Posted by "titoausten (via GitHub)" <gi...@apache.org>.
titoausten commented on issue #1044:
URL: https://github.com/apache/age/issues/1044#issuecomment-1638537456

   The condition beside the `WHERE` clause is `> 1`, this will return an error as the **size** is not greater than 1.


-- 
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-unsubscribe@age.apache.org

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