neo4j-contrib / neo4j-apoc-procedures

Awesome Procedures On Cypher for Neo4j - codenamed "apoc"                     If you like it, please ★ above ⇧            

Home Page:https://neo4j.com/labs/apoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apoc.load.jdbc does not support JDBC array types

sarmbruster opened this issue · comments

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.