Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed related bugs with fold and rewriting #188

Merged
merged 1 commit into from
Oct 5, 2018

Conversation

dwitry
Copy link
Contributor

@dwitry dwitry commented Oct 5, 2018

  • fold() loses traversal history (e.g. g.V().as('a').fold().select('a') returns noting)
  • In cases where fold() is used for collection creation, replaced with map(fold()) (e.g. g.V().as('a').map(fold()).select('a'))
  • Fix SimplifySingleProjections rewriter removing valid re-select

TCK +2

Signed-off-by: Dwitry [email protected]

- `fold()` loses traversal history (e.g. `g.V().as('a').fold().select('a')` returns noting)
- In cases where `fold()` is used for collection creation, replaced with `map(fold())` (e.g. `g.V().as('a').map(fold()).select('a')`)
- Fix `SimplifySingleProjections` rewriter removing valid re-`select`

TCK +2

Signed-off-by: Dwitry [email protected]
@dwitry dwitry merged commit 63b8d8c into opencypher:master Oct 5, 2018
@dwitry dwitry deleted the boring_turing branch October 5, 2018 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant