gregfelice opened a new pull request, #364:
URL: https://github.com/apache/age-website/pull/364

   **What** — Documents that pattern expressions (path patterns such as 
`(a)-[:KNOWS]->(:Person)`) can be returned directly from a `RETURN`/`WITH` 
projection, not only used as `WHERE` predicates. Adds a worked example to the 
RETURN reference with verified output, plus a performance note.
   
   **Why** — Follow-up to the review of apache/age#2360. The reviewer asked 
that the per-row `EXISTS`-subquery cost of pattern expressions in projection 
contexts be discoverable from the Cypher reference, not just the PR history.
   
   **Performance note** — A pattern expression is evaluated as an `EXISTS` 
subquery, once per result row in a projection, so cost scales with rows 
projected. The note makes only this mechanically-grounded claim.
   
   **Depends on** apache/age#2360 (the projection capability); should not merge 
before it.
   
   **Verification** — Example output generated against a PG18 build of the 
#2360 branch using the canonical doc graph (`intro/aggregation.md`).


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