Skip to content

gds.alpha.hits.write returns error related to conversion default value of partitioning (AUTO) to AnyValue  #285

@martynscn

Description

@martynscn

Describe the bug
gds.alpha.hits.write returns ClientError: [Procedure.ProcedureCallFailed] Failed to invoke procedure gds.alpha.hits.write: Caused by: java.lang.IllegalArgumentException: Cannot convert AUTO of type org.neo4j.gds.beta.pregel.Partitioning to AnyValue, classloader=jdk.internal.loader.ClassLoaders$AppClassLoader@5ffd2b27, classloader-name=app

To Reproduce
CALL gds.alpha.hits.mutate() or CALL gds.alpha.hits.write()

GDS version: 2.4.4
Neo4j version: 5.11.0 ENTERPRISE
Operating system: Ubuntu 22.04.1 LTS

Steps to reproduce the behavior:

  • Project the graph. node count ~400000, relationship count ~1200000,
  • Run CALL gds.alpha.hits.write() or CALL gds.alpha.hits.mutate()

Expected behavior
Query completes successfully without an error

Current behavior
The following error is returned
ClientError: [Procedure.ProcedureCallFailed] Failed to invoke procedure gds.alpha.hits.write: Caused by: java.lang.IllegalArgumentException: Cannot convert AUTO of type org.neo4j.gds.beta.pregel.Partitioning to AnyValue, classloader=jdk.internal.loader.ClassLoaders$AppClassLoader@5ffd2b27, classloader-name=app

Additional context
Manually changing the value of partitioning in gds.alpha.hits.write any of to 'AUTO', 'RANGE' and 'DEGREE' returns the following error

[Procedure.ProcedureCallFailed] Failed to invoke procedure gds.alpha.hits.write: Caused by: java.lang.IllegalArgumentException: The value of partitioning must be of type Partitioning but was String.

Metadata

Metadata

Assignees

Labels

BUGSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions