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

Setting NULL as last value in a list causes error in Cypher #70

Closed
mattcasters opened this Issue Nov 23, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@mattcasters
Collaborator

mattcasters commented Nov 23, 2018

It's missing a space.

org.neo4j.driver.v1.exceptions.ClientException: Invalid input ')': expected whitespace or a relationship pattern (line 2, column 625 (offset: 665))
"SET node1.listingUrl = {param2} , node1.name = {param3} , node1.summary = NULL, node1.space = {param5} , node1.description = {param6} , node1.experiencesOffered = {param7} , node1.neighborhoodOverview = NULL, node1.notes = NULL, node1.transit = NULL, node1.access = NULL, node1.interaction = NULL, node1.houseRules = NULL, node1.latitude = {param14} , node1.longitude = {param15} , node1.isLocationExact = {param16} , node1.propertyType = {param17} , node1.roomType = {param18} , node1.accommodates = {param19} , node1.bathrooms = NULL, node1.bedrooms = {param21} , node1.beds = NULLMERGE (node2:City { zipcode : {param24} }) "
2018/11/23 09:21:54 - Update Airbnb model.0 - ^

Notice the NULLMERGE statement at the end of that statement.
We'd better add spaces after all the NULL values.

mattcasters added a commit to mattcasters/knowbi-pentaho-pdi-neo4j-output that referenced this issue Nov 23, 2018

mattcasters added a commit that referenced this issue Nov 26, 2018

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