apoc icon indicating copy to clipboard operation
apoc copied to clipboard

difference between the maven central apoc-core jar and the one on the release page for version 5.x

Open ThomasBorghs opened this issue 2 years ago • 8 comments

Expected Behavior (Mandatory)

That including

<dependency>
    <groupId>org.neo4j.procedure</groupId>
    <artifactId>apoc-core</artifactId>
    <version>5.2.1</version>
    <scope>runtime</scope>
</dependency>

in my project would have the same result as me manually downloading the apoc-core jar from the github releases page.

Actual Behavior (Mandatory)

Instead the version coming in through maven is missing some key functions, as compared to the one on the github page. An example of such a function which is missing in the maven central jar is apoc.coll.sort (which I ran into), but there are a lot of others also missing

How to Reproduce the Problem

set up a local docker container of neo4j, where you mount the apoc-core.jar (version 5.1 and up) you downloaded from maven central into the plugins dir of the container

apoc.coll.sort won't be available (amongst other functions which are also missing)

Steps (Mandatory)

  1. download apoc-core.jar version 5.1 or up from maven central
  2. launch neo4j 5.1 or up (in sync with your apoc version) in docker, and mount the apoc-core.jar in the plugins dir of the container
  3. try to run apoc.coll.sort, or run "show functions" to see which ones are missing

Specifications (Mandatory)

not sure what to write here, apologies

Currently used versions

5.2.1

Versions

  • OS: mac Os 12.4
  • Neo4j: 5.2
  • Neo4j-Apoc: 5.2.1

ThomasBorghs avatar Dec 02 '22 07:12 ThomasBorghs