-
Notifications
You must be signed in to change notification settings - Fork 46
Don't send parameter lambdas to server #138
Conversation
fickludd
left a comment
There was a problem hiding this 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' |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
|
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. |
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.
|
3.5.4 is out :) |
For evaluating parameters we were basically sending
RETURN expressionin 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.