YGY-001 opened a new issue, #2525:
URL: https://github.com/apache/age/issues/2525

   Docker image `apache/age:release_PG18_1.7.0
   
   **Reproduction**
   
   ```sql
   LOAD 'age';
   SET search_path = ag_catalog, public;
   SELECT ag_catalog.create_graph('age_issue_case1');
   
   SELECT *
   FROM ag_catalog.cypher('age_issue_case1', $$
   UNWIND ['GU'] AS alias0
   WITH max(toFloat(1)) AS alias2, avg(toFloat(1)) AS alias3
   WITH CASE WHEN alias2 IS NULL THEN null ELSE alias2 END AS alias2,
        CASE WHEN alias3 IS NULL THEN null ELSE alias3 END AS alias3
   RETURN {alias2: alias2, alias3: alias3} AS result
   $$) AS (result agtype);
   ```
   
   **Expected**
   
   One row containing the two numeric aggregate values.
   
   **Actual**
   
   ```text
   CASE/ELSE could not convert type double precision to boolean
   ```


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