Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Conversation

@pontusmelke
Copy link
Collaborator

@pontusmelke pontusmelke commented Mar 21, 2019

For evaluating parameters we were basically sending RETURN expression
in order to evaluate the expression. This PR replaces that with using a
new shiny stand-alone expression evaluator.

[changelog]: Parameters are now evaluated client-side instead of being passed to the server. This greatly improves speed of parameter evauation.

@fickludd fickludd self-assigned this Mar 22, 2019
Copy link
Contributor

@fickludd fickludd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, but we should think about if we can change to a non-SNAPSHOT dependency.

build.gradle Outdated

argparse4jVersion = '0.7.0'
junitVersion = '4.12'
evaluatorVersion = '4.0.0-SNAPSHOT'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this be a problem? Neo4j 4.0.0-SNAPSHOT is not on maven central, so how is anyone going to build cypher-shell now, without building some local snapshot of Neo4j?

It would be great if we could get a release of the evaluator somehow.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes we will have to figure that out. This PR is mostly to check the integration with the evaluator.

@fickludd
Copy link
Contributor

I backported the expression evaluator to 3.5, and retargeted this do depend on the expression evaluator from 3.5.4, which will be available as soon as that patch is released.

pontusmelke and others added 3 commits April 5, 2019 16:33
For evaluating parameters we were basically sending `RETURN expression`
in order to evaluate the expression. This PR replaces that with using a
new shiny stand-alone expression evaluator.
@jexp
Copy link
Member

jexp commented Apr 8, 2019

3.5.4 is out :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants