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

Lift traversal out of folding projections #112

Merged
merged 4 commits into from
Jun 22, 2018

Conversation

disolovyov
Copy link
Collaborator

@disolovyov disolovyov commented Jun 22, 2018

This rewrite lifts traversals from single projections that start with a fold. This helps other rewriters to detect cases like fold().unfold(), greatly simplifying some projections.

coalesce-based null guards have been replaced with choose-based, because of unexpected behavior of global coalesce in some TCK corner cases.

Unused alias removal has been fixed to not skip adjacent as steps.

Signed-off-by: Dimitry Solovyov <dimitry@solovyov.lv>
@disolovyov disolovyov added the enhancement New feature or request label Jun 22, 2018
Signed-off-by: Dimitry Solovyov <dimitry@solovyov.lv>
Signed-off-by: Dimitry Solovyov <dimitry@solovyov.lv>
Signed-off-by: Dimitry Solovyov <dimitry@solovyov.lv>
@disolovyov disolovyov requested a review from ilyin371 June 22, 2018 14:00
@disolovyov disolovyov merged commit 386aebc into opencypher:master Jun 22, 2018
@disolovyov disolovyov deleted the lift-project branch June 22, 2018 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants