I have been trying to load array column data to neo4j from snowflake but it is loaded as a string instead of an array.
I am using apoc.load.jdbc command to connect snowflake and trying to retrieve array column.
WITH "jdbc:snowflake://xxxx.xxxx.xxxx.com:xxx/?user=xxxxxxxxxxx&password=xxxxxxxxxxx&db=xxxx&warehouse=xxxx&schema=xxxx" as url CALL apoc.load.jdbc(url,"select array_column from TABLE') YIELD row create (c:arraytest) set c=row
Neo4j Output:
(:arraytest {array_column: "[
\"55232d8cac\"
]"})
I want to load as an array instead of a string like below:
(:arraytest {array_column: ["55232d8cac"]})
Is there any way to load as an array to neo4j as mentioned above?