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

it seems that the complex value for node/rel is only returned for the first column #43

Closed
jexp opened this issue Jun 9, 2016 · 6 comments

Comments

@jexp
Copy link
Member

jexp commented Jun 9, 2016

In IntelliJ

MATCH (n:Person)-[r:ACTED_IN]->(m:Movie)
RETURN n,r,m

only has this for n

{born=1964, name=Keanu Reeves, _id=11177, _labels=[Person]}

for r, and m both are null

the separate, generated columns all are filled with valid values.

@sim51
Copy link

sim51 commented Jun 11, 2016

image

@sim51
Copy link

sim51 commented Jun 12, 2016

One problem comes from this line : https://github.com/neo4j-contrib/neo4j-jdbc/blob/master/neo4j-jdbc-bolt/src/main/java/org/neo4j/jdbc/bolt/BoltResultSet.java#L323

We have to replace it by ; value = this.current.get(this.current.keys().indexOf(keys[0]));

But for null value (the main problem), take a look at #48.

@glaggia-larus
Copy link

commit 260a5d3 adds two failing tests that highlight the problem

albertodeste pushed a commit that referenced this issue Jun 17, 2016
@glaggia-larus
Copy link

glaggia-larus commented Jun 17, 2016

Commit 3e34ea8 could be resolutive also for this issue. @jexp if you confirm we can close this issue.

@albertodeste
Copy link

@jexp, @sim51 can you check if the bug is still present?

@jexp
Copy link
Member Author

jexp commented Jun 28, 2016

Yes I can confirm that it works now, well done. Thanks!

@jexp jexp closed this as completed Jun 28, 2016
michael-simons added a commit that referenced this issue Feb 27, 2024
* Add missing author tags, contributing guidelines.
* Avoid exessive use of stream api.
* Be explicit about extendable classes.
* Be clear about !autoCommit.

Co-authored-by: Dmitriy Tverdiakov <dmitriy.tverdiakov@neo4j.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants