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

apoc.load.jdbc does not support JDBC array types #3766

Closed
sarmbruster opened this issue Sep 1, 2023 · 0 comments
Closed

apoc.load.jdbc does not support JDBC array types #3766

sarmbruster opened this issue Sep 1, 2023 · 0 comments

Comments

@sarmbruster
Copy link
Contributor

sarmbruster commented Sep 1, 2023

Expected Behavior (Mandatory)

apoc.load.jdbc should deal gracefully with array columns.
JDBC returns javax.sql.Array for them and they should be mapped to normal arrays.
Some RDBMS, e.g. postgres, do support native array as column types.

Actual Behavior (Mandatory)

getting an error message

Failed to invoke procedure `apoc.load.jdbc`: Caused by: java.lang.IllegalArgumentException: Cannot convert {...} of type org.postgresql.util.PGobject to AnyValue

Versions

  • Neo4j: 4.4.18

I'll send a PR for this against 4.4 branch in the next days.

sarmbruster added a commit to sarmbruster/neo4j-apoc-procedures that referenced this issue Sep 2, 2023
sarmbruster added a commit to sarmbruster/neo4j-apoc-procedures that referenced this issue Sep 2, 2023
vga91 pushed a commit that referenced this issue Dec 19, 2023
@vga91 vga91 closed this as completed in 1033d6d Dec 19, 2023
vga91 added a commit that referenced this issue Dec 19, 2023
Co-authored-by: Stefan Armbruster <stefan@armbruster-it.de>
vga91 added a commit that referenced this issue Dec 19, 2023
Co-authored-by: Stefan Armbruster <stefan@armbruster-it.de>
vga91 added a commit that referenced this issue Jan 23, 2024
Co-authored-by: Stefan Armbruster <stefan@armbruster-it.de>
vga91 added a commit that referenced this issue Jan 24, 2024
Co-authored-by: Stefan Armbruster <stefan@armbruster-it.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant