hop icon indicating copy to clipboard operation
hop copied to clipboard

[Feature Request]: Neo4j -- Create Node key constraints

Open aritan7 opened this issue 3 years ago • 5 comments

Apache Hop version?

2.2

Java version?

OpenJDK Runtime Environment (build 11.0.17+8)

Operating system

Linux

What happened?

Neo4j Version: 4.4.15

Please add an option to create a node key constraint for Neo4j.

Currently, the only way to create constraints via the "Neo4j Constraint" action is as follows: CREATE CONSTRAINT company_id IF NOT EXISTS FOR (n:Company) REQUIRE n.id IS UNIQUE

For node-key constraints (https://neo4j.com/docs/cypher-manual/4.4/constraints/examples/#administration-constraints-node-key), the syntax is slightly different: CREATE CONSTRAINT company_id_name FOR (n:Company) REQUIRE (n.id, n.name) IS NODE KEY

Issue Priority

Priority: 2

Issue Component

Component: Graph

aritan7 avatar Dec 28 '22 03:12 aritan7

.set-labels new feature

hansva avatar Dec 28 '22 16:12 hansva

Label new cannot be managed because it does not exist in the repo. Please check your spelling.

github-actions[bot] avatar Dec 28 '22 16:12 github-actions[bot]

moved to new feature, sounds like a great addition

hansva avatar Dec 28 '22 16:12 hansva

Before making this the standard, make sure it works with community edition as well as enterprise. Some NODE KEY functionality only works in Enterprise Neo4j.

Mattang-John avatar May 20 '23 19:05 Mattang-John

.take-issue

bamaer avatar Dec 09 '25 18:12 bamaer