Skip to content

Conversation

@MuhammadTahaNaveed
Copy link
Member

@MuhammadTahaNaveed MuhammadTahaNaveed commented Jun 11, 2025

- Fixed issue when MATCH clause variable is referenced inside list
  comprehension in WHERE clause or in property constraint.
- Added regression tests.
@github-actions github-actions bot added PG16 override-stale To keep issues/PRs untouched from stale action labels Jun 11, 2025
Adds extra step in CI workflow to install missing necessary
dependencies.
jrgemignani and others added 2 commits June 11, 2025 22:38
The build now needs to use https:, instead of git:
The labeler now requires a new step before running.

Modified the following files -

    .github/workflows/installcheck.yaml
    .github/workflows/labeler.yml
* Revert "Fix issue 1955 - List comprehension in WHERE clause (apache#2094)"

This reverts commit 0f0d9be.

* Revert "Fix error using list comprehension with WITH * (apache#1838)"

This reverts commit 5e08a2f.

* Revert "Fix shift/reduce conflict in grammar (apache#1719)"

This reverts commit fab3119.

* Revert "Implement list comprehension (apache#1610)"

This reverts commit 3b2b394.

* Reimplement list comprehension

- Reimplement list comprehension to use ARRAY sublinks.
- Some test results were not correct. All the test results that are
  modified are correct and are verified with neo4j.
- Also resolves the issue of using list comprehension in MERGE clause (1611)
  and issue 1850

* Add expression tree walkers for cypher nodes

- Added cypher_raw_expr_tree_walker and cypher_expr_tree_walker, based
  on Postgres's raw_expression_tree_walker and expression_tree_walker.
  These follow the same walker API as Postgres and add support for
  Cypher-specific nodes.
- Also added the agtype[] to agtype func and typecast to 1.5.0-y.y.y.sql
- Simplifies logic for cypher_subquery handling in where clause.
- Fixes a crash when list comprehension in the WHERE clause references a
  variable from the preceding MATCH clause.
@jrgemignani jrgemignani merged commit 489e49f into apache:PG16 Jun 17, 2025
7 checks passed
@MuhammadTahaNaveed MuhammadTahaNaveed deleted the PG16-lc-revamp branch June 17, 2025 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

override-stale To keep issues/PRs untouched from stale action PG16

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants